• 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: NSError* reference in method Re: deprecated method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSError* reference in method Re: deprecated method


  • Subject: Re: NSError* reference in method Re: deprecated method
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 29 May 2010 14:24:04 -0700

On May 29, 2010, at 14:14, Bill Tschumy wrote:

> So I looked at the documentation for what "countForFetchRequest" returns when there is an error.

It's a documentation bug. Consulting the actual header file, you'll find:

> // returns the number of objects a fetch request would have returned if it had been passed to -executeFetchRequest:error:.   If an error occurred during the processing of the request, this method will return NSNotFound.
> - (NSUInteger) countForFetchRequest: (NSFetchRequest *)request error: (NSError **)error;

which clears up the question.


_______________________________________________

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

  • Prev by Date: Re: NSURLConnection weirdiness
  • Next by Date: Re: authenticating peers
  • Previous by thread: Re: Question about how to make a custom sheet (solved)
  • Next by thread: example of a NSScrollView where scrolling is overridden ?
  • Index(es):
    • Date
    • Thread