Re: NSControl Multiple Values
Re: NSControl Multiple Values
- Subject: Re: NSControl Multiple Values
- From: Richard Charles <email@hidden>
- Date: Mon, 02 Nov 2015 12:21:54 -0700
> On Nov 2, 2015, at 12:03 PM, Quincey Morris <email@hidden> wrote:
>
> The simplest way is probably to create a derived property in your data model that is the correctly-rounded value to display.
My data model actually has lots of properties. Creating a derived property for each one does not sound appealing.
> Alternatively, I think you could write a value transformer:
That may work. I see that there are two value transformer options in the key value binding creation protocol, one for a transformer name and another for a transformer object.
Thanks so much.
--Richard Charles
_______________________________________________
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