Re: self = [super init] debate.
Re: self = [super init] debate.
- Subject: Re: self = [super init] debate.
- From: mmalc crawford <email@hidden>
- Date: Sun, 10 Feb 2008 17:49:43 -0800
On Feb 10, 2008, at 5:32 PM, Quincey Morris wrote:
-- Someone did an automated check of every Cocoa class in Tiger
(maybe it was every subclass of NSObject, I don't remember exactly
now) and counted the number of classes for which the receiver of
[super init] was different from the returned value. The answer was 0.
That may comfort anyone who wants to leave out the 'self =', but
it's hardly a reliable argument. The number of dead people reading
this discussion is also 0 (afaik), but I wouldn't take that as proof
of immortality.
<http://developer.apple.com/documentation/Cocoa/Reference/CoreDataFramework/Classes/NSManagedObject_Class/Reference/NSManagedObject.html#//apple_ref/occ/instm/NSManagedObject/initWithEntity:insertIntoManagedObjectContext:
>
mmalc
_______________________________________________
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