Re: Best Way to Handle Properties?
Re: Best Way to Handle Properties?
- Subject: Re: Best Way to Handle Properties?
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 20 Aug 2008 21:56:12 -0700
On Wed, Aug 20, 2008 at 9:46 PM, Graham Cox <email@hidden> 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@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