On Wed, Aug 20, 2008 at 9:46 PM, Graham Cox <[EMAIL PROTECTED]> wrote:

> Anyone got any thoughts on this? Is there any valid case for doing this, and
> having this written into a coding standard?

Only possible pathway (ignoring memory smasher) is something like a
double init ( [[[SomeClass alloc] init] init] ). If you are worried
about that all you need is a single ivar that you set to true when
initialized and assert that that ivar is false when init is called.

-Shawn
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to