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
Post a Comment