FROM : Sebastian Nowicki
DATE : Sat May 24 10:15:40 2008
On 24/05/2008, at 3:48 PM, Andreas Mayer wrote:
> In case you use the notification, there is no need to expose
> anything. You just register a method of your singleton to receive
> the NSApplicationWillTerminateNotification and do your cleanup there.
>
> On Apple's developer website there are several example projects that
> make use of this. Here's one:
>
> http://developer.apple.com/samplecode/CapabilitiesSample/listing5.html
>
> You need only look at the -init and the -applicationWillTerminate:
> methods.
>
>
> Andreas
Oh, that is awesome. Thanks for pointing it out.
--
Sebastian Nowicki
DATE : Sat May 24 10:15:40 2008
On 24/05/2008, at 3:48 PM, Andreas Mayer wrote:
> In case you use the notification, there is no need to expose
> anything. You just register a method of your singleton to receive
> the NSApplicationWillTerminateNotification and do your cleanup there.
>
> On Apple's developer website there are several example projects that
> make use of this. Here's one:
>
> http://developer.apple.com/samplecode/CapabilitiesSample/listing5.html
>
> You need only look at the -init and the -applicationWillTerminate:
> methods.
>
>
> Andreas
Oh, that is awesome. Thanks for pointing it out.
--
Sebastian Nowicki
| Related mails | Author | Date |
|---|---|---|
| Sebastian Nowicki | May 24, 08:07 | |
| Andreas Mayer | May 24, 08:20 | |
| Andrew Merenbach | May 24, 08:24 | |
| Sebastian Nowicki | May 24, 09:28 | |
| Andreas Mayer | May 24, 09:48 | |
| Sebastian Nowicki | May 24, 10:15 |






Cocoa mail archive

