cocoa touch - Retrieve the total number of objects in a NSManagedObjectContext -
is there way find out total number of objects in nsmanagedobjectcontext
? can't nsfetchrequest
as won't span on different entities.
what trying view state of nsmanagedobjectcontext
debugging purposes.
if you're looking objects in nsmanagedobjectcontext
, can use registeredobjects
property. note nsmanagedobjectcontext
acts scratch pad returns objects in nsmanagedobjectcontext
, not items in persistent store.
Comments
Post a Comment