Re: init function return value
Re: init function return value
- Subject: Re: init function return value
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 1 Aug 2002 12:19:14 +0200
On Thursday, August 1, 2002, at 11:45 AM, Chong Hiu Pun wrote:
By default, the init function is defined as follows:
-(id)init
So after I did my initialization, what value should I return? Or I can
just
change (id) to (void) so that the warning:
"control reaches end of non-void function" can be eliminated?
thanks!
return self;
_______________________________________________
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.