Re: Re Singleton Help ...

2009-03-13 Thread Mic Pringle
Yep. This looks like the best solution. Will give this a go. Thanks -Mic 2009/3/13 Dave DeLong : > Similarly, couldn't you have the singleton itself register to receive the > applicationWillTerminate notification?  I don't think it has to be done via > the app's delegate. > > Something like: > >

Re: Re Singleton Help ...

2009-03-13 Thread Dave DeLong
Similarly, couldn't you have the singleton itself register to receive the applicationWillTerminate notification? I don't think it has to be done via the app's delegate. Something like: (in your singleton's accessor, or perhaps a private initializer?) [[NSNotificationCenter defaultCenter] ad