self = [super init];

2008-12-03 Thread EVS
self = [super init]; Why does the above line of code not cause a memory leak or memory fault? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at co

Re: self = [super init];

2008-12-04 Thread EVS
perhaps in a suation where the object represents some resource and if there is already an object for that resource the new instance is released and a retained version of the original instance is returned in its place. On 04/12/2008, at 06:14 , EVS wrote: self = [super init]; Why does the