On May 3, 2009, at 5:38 PM, Kyle Sluder wrote:

Initializers must call -[self release] in case of an error.  This
means that in response to an error that occurs as part of
initialization, you must not release that object.

Initializers that call -[self release], for any reason, had also better return nil; (or some other valid instance).

-Ed

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

Reply via email to