Re: split up alloc and init?
Re: split up alloc and init?
- Subject: Re: split up alloc and init?
- From: "Kyle Sluder" <email@hidden>
- Date: Mon, 11 Feb 2008 09:32:27 -0500
On Feb 11, 2008 3:28 AM, Kyle Sluder <email@hidden> wrote:
> For your purposes, it would make sense to store the result of +alloc,
> then re-assign that variable, passing the stored variable as an
> argument to -init, like the following:
You see, this is why one shouldn't post at 3:30 AM: you don't realize
that you're recommending someone pass around an uninitialized object.
Bit of a chicken and egg situation, eh?
--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