• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: init function return value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >init function return value (From: "Chong Hiu Pun" <email@hidden>)

  • Prev by Date: Re: Launch Services question
  • Next by Date: Re: 2 classes
  • Previous by thread: init function return value
  • Next by thread: Re: init function return value
  • Index(es):
    • Date
    • Thread