Re: Do I Need Multiple NSArrayControllers For This?
Re: Do I Need Multiple NSArrayControllers For This?
- Subject: Re: Do I Need Multiple NSArrayControllers For This?
- From: Benjamin Stiglitz <email@hidden>
- Date: Thu, 11 Sep 2008 16:11:01 -0400
Just want to clarify this a bit. In the Bindings inspector, when I
assign a
value transformer, that gets applied to the Controller Key and then
the
Model Key Path portion applies to the transformed value. Am I
understanding
that correctly?
The value transformer gets applied immediately before providing the
value to the bound object; if you have a model key path (which, by
the way, is not always required), it will get applied to the result
of getting the value from the model key path of the model.
By the way, another way to implement this is to set a property in a
subclass of NSArrayController inside its -arrangeObjects: method.
-Ben
_______________________________________________
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