Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: any constructor



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.