Re: Question Re Memory Management in Apps
Re: Question Re Memory Management in Apps
- Subject: Re: Question Re Memory Management in Apps
- From: Bill Bumgarner <email@hidden>
- Date: Tue, 09 Mar 2010 13:25:01 -0800
On Mar 8, 2010, at 7:44 PM, Philippe Sismondi wrote:
> if(![super init])
> return nil;
Since no one else mentioned it in the followups, the above is wrong. This is correct:
self=[super init];
if (!self)
return nil;
... etc ...
b.bum
_______________________________________________
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