nsarraycontroller and nsuserdefaultscontroller
nsarraycontroller and nsuserdefaultscontroller
- Subject: nsarraycontroller and nsuserdefaultscontroller
- From: Jeff Lee <email@hidden>
- Date: Sun, 7 Oct 2007 16:59:16 -0700
I'm having some difficulties getting the values I set in a
NSArrayController via setContent propogating to my
NSUserDefaultsController.
I have a NSTableView bound to an NSArrayController. I have that
NSArrayController's contentArray bound to a
NSUserDefaultsController. All bindings are setup via IB.
Things seem to work fine and dandy if I add rows to the NSTableView
via NSArrayController's insert action: the new row gets saved to
defaults just fine. If, however, I try to set the contents of the
NSTableView all at once via NSArrayController's setContent, nothing
gets saved to defaults. Am I missing a step somewhere?
Thanks
- Jeff
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden