NSArrayController bindings -- duplicate data?
NSArrayController bindings -- duplicate data?
- Subject: NSArrayController bindings -- duplicate data?
- From: Ben Lachman <email@hidden>
- Date: Fri, 6 Oct 2006 14:25:48 -0400
I have an set of unit types in my app which are managed by a fairly
simple controller. I also have a master-detail interface in my
preferences for changing the display name of units (for instance
gal. instead of gallon). I'm using an NSArrayController to fill this
interface and it is bound to my unit controller's set (data key path
is "unitController.units" bound to my app delegate). The problem is
that it seems the Array Controller is copying the set, so when I try
to read a value elsewhere in my app after I have changed it in the
preferences I get the old data. Any ideas what I might be doing wrong?
->Ben
_______________________________________________
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