iphone, get the object count without performing a fetch?

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2010-04-01T09:18:52Z Indexed on 2010/04/01 9:23 UTC
Read the original article Hit count: 374

Hi,

I seem to recall that it's possible to return the resulting object count from an NSPredicate in CoreData without actually performing a fetch, but I can't find any reference to this.

Can someone confirm that I wasn't dreaming (sad dream to have!), and would this be safe to do in another thread?

Thanks

Andy

© Stack Overflow or respective owner

Related posts about iphone

Related posts about core-data