Re: Core Data debugging
Re: Core Data debugging
- Subject: Re: Core Data debugging
- From: Kyle Sluder <email@hidden>
- Date: Thu, 16 Jul 2009 16:14:57 -0700
On Thu, Jul 16, 2009 at 3:54 PM, Quincey
Morris<email@hidden> wrote:
> If I've misunderstood your point, it would be helpful to see an example of
> how your code might look with the NSError-wrapping code in place.
The point is that convenience is increased if NSError-returning
methods follow the childhood rule of "if you have nothing useful to
say, don't say it at all." IOW, if you're going to return YES, don't
muck with *error. Then we don't have to worry about using different
techniques for wrapping error objects at different points of the
program's flow.
--Kyle Sluder
_______________________________________________
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