cocoa touch - Retrieve the total number of objects in a NSManagedObjectContext -


is there way find out total number of objects in nsmanagedobjectcontext? can't nsfetchrequestas 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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -