Re: NSApplicationMain question
Re: NSApplicationMain question
- Subject: Re: NSApplicationMain question
- From: Abhinay Kartik Reddyreddy <email@hidden>
- Date: Thu, 22 Apr 2010 15:39:46 -0400
Try the NSApplicationDelegate .....
On Apr 21, 2010, at 6:50 PM, Bill Appleton wrote:
> hi all,
>
> i am converting from carbon to cocoa
>
> with NSApplicationMain i need to know how to call some startup code before
> receiving events
use -applicationWillFinishLaunching
> and upon quit i need to call some shutdown code
>
use -applicationWillTerminate
> are there some docs on this issue? examples? advice?
>
http://developer.apple.com/mac/library/documentation/cocoa/reference/NSApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40008592-CH1-DontLinkElementID_2
>
> thanks,
>
> bill appleton
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden