• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Counting instances in Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting instances in Core Data


  • Subject: Re: Counting instances in Core Data
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 29 Apr 2008 14:33:09 -0400

>  In Tiger that was the best means available, but if you're targeting Leopard
> there is a better option available:
>
>  Create your fetch request to fetch all instances of a given entity and
> execute the fetch with countForFetchRequest:error: which will simply return
> the number of instances/rows that match your query.

  Though Steve mentioned off-list that he's targeting Tiger, I had
managed to completely forget about this method - my apologies for the
misinformation.

--
I.S.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Counting instances in Core Data (From: Steve Cronin <email@hidden>)
 >Re: Counting instances in Core Data (From: Adam Swift <email@hidden>)

  • Prev by Date: Re: Counting instances in Core Data
  • Next by Date: Re: Counting instances in Core Data
  • Previous by thread: Re: Counting instances in Core Data
  • Next by thread: Re: Counting instances in Core Data
  • Index(es):
    • Date
    • Thread