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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -