ios4 - Core Data fetch by property count -


I'm just trying to get the object that contains a large number of nsset, then in Core Data 0 something like this

Get all the items, which are the object.set & gt;

"Text">

I was able to find a way to work:

  NSPredicate * predicate = [NSPredicate predicateWithFormat: @ "Set. @ Count> 0"];   

If there is a better way, please tell me, I am posting here to help anyone with the same problem.

Thanks

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -