let appdel = UIApplication.shared.delegate as! AppDelegate
var viewContext: NSManagedObjectContext!
var querysetEvents: QuerySet<Events>!
// Query for entry with this ID
for event in try! querysetContactEvents
.filter(\.entryId == id)
.array() {
print(event.date)
}
results in
"Value of type 'NSManagedObject' has no member 'entryId'"
although entryId most certainly exists.
Could you assist?
Reactions are currently unavailable
let appdel = UIApplication.shared.delegate as! AppDelegate var viewContext: NSManagedObjectContext! var querysetEvents: QuerySet<Events>! // Query for entry with this ID for event in try! querysetContactEvents .filter(\.entryId == id) .array() { print(event.date) }results in
although entryId most certainly exists.
Could you assist?