Re: Core Data debugging
Re: Core Data debugging
- Subject: Re: Core Data debugging
- From: Kyle Sluder <email@hidden>
- Date: Thu, 16 Jul 2009 13:37:04 -0700
On Thu, Jul 16, 2009 at 1:26 PM, Bill Bumgarner<email@hidden> wrote:
> You should *never* assume *anything* about the value of err across a call to
> -save: or any other similar method *unless* the result indicates an error.
This makes many people's lives difficult. It's kinda bogus that if I
pass in the address of a pointer-to-NULL and receive back a YES that I
have to turn around and re-NULL that pointer before reusing it. Many
AppKit methods have a tendency to set the *error argument to 0x8 when
they return YES, causing havoc with our error-wrapping macros.
--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