Re: Core Data design patterns
Re: Core Data design patterns
- Subject: Re: Core Data design patterns
- From: mmalc Crawford <email@hidden>
- Date: Sun, 19 Jul 2009 21:02:18 -0700
On Jul 19, 2009, at 5:05 PM, mmalc Crawford wrote:
The fundamental behaviour is that method returns NO if something
goes wrong.
As Jerry kindly pointed out off-list, this method of course returns
nil -- not NO -- if something goes wrong. The important issue (and
one which has given rise to several threads in the past, which is why
the pattern warrants clarification) is that you should check the
method's return value, not the error parameter, to determine whether
the operation was successful.
mmalc
_______________________________________________
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