Re: NSError* reference in method Re: deprecated method
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