Re: returning nil on initialization
Re: returning nil on initialization
- Subject: Re: returning nil on initialization
- From: John Stiles <email@hidden>
- Date: Thu, 1 Apr 2004 13:40:42 -0800
On Apr 1, 2004, at 12:21 PM, Daniel Waylonis wrote:
I'm under the impression that the result of [super init] and the
variable self will always be the same.
This is not true. The super is free to return something else. (I don't
know of any concrete examples, but Objective-C books sometimes warn
about this.)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.