meaning of if (self = [super init])
meaning of if (self = [super init])
- Subject: meaning of if (self = [super init])
- From: Cyprien <email@hidden>
- Date: Wed, 25 Jun 2003 16:10:45 +0200
What's the meaning of this code line ?
if (self = [super init])
does self return a Boolean, whatever the receiver is ?
and I suppose that this has nothing to do with
if (self == [super init])
has it ? This is a comparison, and the first one was "initialise self
and test the returned value" isn't it ?
I'm not really sure about it.
Cyprien
_______________________________________________
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.