Bindings and NSTableColumns
Bindings and NSTableColumns
- Subject: Bindings and NSTableColumns
- From: Stephen Deken <email@hidden>
- Date: Sun, 20 Aug 2006 23:41:52 -0500
I'm having trouble getting a binding to update after inline editing
in an NSTableView. I've got an NSArrayController whose contentArray
is bound to the values of a key in an NSUserDefaults object. The
NSTableColumn's value is bound to the arrangedObjects of the
NSArrayController.
The bindings appear to work -- calling add: on the NSArrayController
adds an empty NSMutableDictionay to the table, which gets properly
saved to the plist file. However, editing a value by double-clicking
on a cell doesn't update the value in the array. The value is reset
when reloadData: is called on the tableView,
I can tell that the proper value is being examined, because manually
editing the .plist to add the property (in this case, 'label')
results in it beung displayed the next time the application is run.
It's just not updating the data after an inline edit.
Any thoughts?
Stephen Deken
email@hidden
_______________________________________________
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