Say I have a custom NSCell subclass (or maybe NSActionCell) which implements 
some custom UI for manipulating some immutable value type which I can't use any 
of the standard cell subclasses for. If this cell is the data cell in a table 
column, binding the column's content to an array controller gets the values to 
the custom cell and they're displayed correctly. Easy peasy.

What I can't figure out for the life of me is how to change the value in the 
cell and get that change back into the original array. If the object is mutable 
and you're changing some property of it, that's straightforward, but how do you 
change the entire value if it's immutable? NSCell has a "value" binding, which 
I thought maybe would be bound to something, but it's not.

As far as I can tell, there's no way to change the object value of the cell and 
reflect the change in the array controller's content. I've been looking in the 
documentation, headers, and Googling for clues for an hour now and I really 
can't find an answer. Surely someone has to have done this. :\


--
Seth Willits

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to