binding of NSTextField and NSStepper
binding of NSTextField and NSStepper
- Subject: binding of NSTextField and NSStepper
- From: Mike Abdullah <email@hidden>
- Date: Sat, 25 Feb 2006 18:44:36 +0000
I have in my app's preferences window an NSTextField and a
NSStepper. Now, I am trying to get it so that they set a value in
the user defaults that other parts of my app can later use.
I've got the stepper to bind nicely, whereby it starts with a value
of 1 and the user can change it. However, whenever I launch my app
without an existing value stored in the plist file, I cannot persuade
it to display anything. The field is stubbornly blank. However, if
I click on the stepper to change it's value, then the field will
update accordingly, and after that, everything works perfectly.
What am I doing wrong?
Mike.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden