Re: if statement causing 32 Byte leak?
Re: if statement causing 32 Byte leak?
- Subject: Re: if statement causing 32 Byte leak?
- From: Dave Keck <email@hidden>
- Date: Sat, 9 Jan 2010 15:40:45 -1000
> Discussion
> This method is a combination of alloc and init. Like alloc, it initializes the isa instance variable of the new object so it points to the class data structure. It then invokes the init method to complete the initialization process.
While we're on the topic, I always thought +new would be much more
useful if it did autorelease the result, making it inline with class
convenience constructors. Any specific reason why this isn't so?
_______________________________________________
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