On Aug 24, 2009, at 6:02 PM, Graham Cox wrote:
On 25/08/2009, at 10:33 AM, Michael de Haan wrote:
So, 2 quick questions.
1) Is what I am seeing expected behavior or am I doing something
wrong.
2) Although not strictly speaking a cocoa question, would better
design be to collect all "v
On Aug 25, 2009, at 8:46 AM, Jason Foreman wrote:
On Aug 24, 2009, at 10:26 PM, Michael de Haan wrote:
-applicationWillTerminate: doesn't magically get called.
NSApplication posts this notification to the default notification
center. NSApplication also automatically signs its delegate up fo
On Aug 24, 2009, at 10:26 PM, Michael de Haan wrote:
-applicationWillTerminate: doesn't magically get called.
NSApplication posts this notification to the default notification
center. NSApplication also automatically signs its delegate up for
this notification.
Kyle, from the "Cocoa Fundame
Hi Kyle,
FIrstly, thanks for this insight.
You should be saving your preferences immediately, as soon as they are
changed in the UI. You should not be waiting for your app to quit.
That makes much more sense, and solves problem 1.
But, just so that I understand your other explanation,
1
On 25/08/2009, at 10:33 AM, Michael de Haan wrote:
So, 2 quick questions.
1) Is what I am seeing expected behavior or am I doing something
wrong.
2) Although not strictly speaking a cocoa question, would better
design be to collect all "values/properties" to be saved in one
location, t
On Mon, Aug 24, 2009 at 5:33 PM, Michael de Haan wrote:
> 1) Is what I am seeing expected behavior or am I doing something wrong.
You're going to have to post your code.
-applicationWillTerminate: doesn't magically get called.
NSApplication posts this notification to the default notification
cent
May I ask the group the following?
In my small application, I save the user's preferences with
applicationWillTerminate:
The application uses 2 "applicationWillTerminate:", one in the app's
main class, the other in the app's preference class. What happens is
that if the preference class i