swift - How do you apply a predicate while traversing through a fulfilled NSManagedObject? -


i'm trying apply predicate while traversing through to-many relationship using nsmanagedobject has been fulfilled in context. thought casting set array , applying filter algorithm, trigger bunch of faults don't want there possibly 500+ objects in set. possible when accessing nsset of faults through nsmanagedobject can apply predicate or filter set , fulfill faults?

filtering objects in relationship correct. far more efficient doing separate fetch. have learned personal experience relationship size in same ballpark (100-2000 entities), , found around 10 fold speed difference between doing fetch vs filtering relationship.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -