NSUserDefaultsController with an NSObjectArray controller as one of it's keys
NSUserDefaultsController with an NSObjectArray controller as one of it's keys
- Subject: NSUserDefaultsController with an NSObjectArray controller as one of it's keys
- From: John Spicer <email@hidden>
- Date: Tue, 16 Nov 2004 17:37:29 -0600
I've got the above with the defaults controller having a key that's an
array. This array is tied to a list for one of it's keys, and two other
keys are attached to NSStepper objects. (I'm using bindings).
There are also two NSTextField's that take their value from the
NSStepper.
Initial values are being set from the prefs (some names for the list,
and zero values for the two NSSteppers).
The data loads OK, fills the list, sets the NSSteppers to zero values,
and thus the NSTextField's are too.
But if I change the initial values (using the NSStepper's) and then
click on another item in the list, the values for that item in the list
are not loaded into the NSTextFields. You can't really run through the
debugger to find out what's going on with the bindings, so I'm at a
loss to figure out what's going on.
The NSSteppers are using "selection" and not arrangedObjects.
Any ideas?
_______________________________________________
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