Re: Binding label value to CoreDara int16
Re: Binding label value to CoreDara int16
- Subject: Re: Binding label value to CoreDara int16
- From: Siegfried <email@hidden>
- Date: Wed, 29 Dec 2010 18:34:58 -0200
On 29/12/2010, at 18:29, John Pannell wrote:
> Hi Siegfried-
>
> Consider making an NSValueTransformer subclass that converts the stored integer into the text you would like to see. You can then use the transformer in the binding to see the text you'd like. I implemented something similar as follows:
>
> @implementation PKConnectionStateValueTransformer
> …
> @end
>
> Hope this helps!
Definitely Helps!
Thanks John, and happy 2011
_______________________________________________
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