You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, for the moment you can only compare primitives. In your case, see if you can just compare a property that holds a unique value; perhaps an id: \CustomItemEntry.owner.id == user.id. I'll investigate whether it's worth adding an overload of == for Identifiables for cases like this.
I'm getting this warning:
When trying to compare an object within a predicate
Example:
var predicate = (\CustomItemEntry.owner) == user
where
owner
/user
areNSManagedObjects
The text was updated successfully, but these errors were encountered: