core data - NSPredicate and KVC collection operators -


assume have core data class employer 1-n relationship called employees.

this employees relationship maps nsset. far good.

i want create nsfetchrequest of employer predicate requieres employees > 0.

how can create predicate?

i tried "employees.@count", seems consider whole thing keypath.

you got syntax backwards:

@count.employees 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -