• 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: any constructor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: any constructor


  • Subject: Re: any constructor
  • From: "Chong Hiu Pun" <email@hidden>
  • Date: Thu, 25 Jul 2002 12:15:24 +0800

Thank yoku very much Then how about destructor method so that when the
application quit I can do all the de-initialization work there?Thanks.


----- Original Message -----
From: "Aram Greenman" <email@hidden>
To: "Chong Hiu Pun" <email@hidden>
Sent: Thursday, July 25, 2002 11:58 AM
Subject: Re: any constructor


>
> On Wednesday, July 24, 2002, at 08:26 PM, Chong Hiu Pun wrote:
>
> > How can I define a function that all application will run it when
> > lanuching
> > (just like the constructor of c++) so that I can do initialization ?
>
> Implement -awakeFromNib in your controller class.
>
> Aram
_______________________________________________
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.

  • Prev by Date: Re: Proper retain/release etiquette
  • Next by Date: Re: What is the purpose of static typing?
  • Previous by thread: any constructor
  • Next by thread: lower-right origin on NSView?
  • Index(es):
    • Date
    • Thread