On Thu, Jul 16, 2009 at 1:26 PM, Bill Bumgarner<b...@mac.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com