• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Binding label value to CoreDara int16
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Binding label value to CoreDara int16 (From: Siegfried <email@hidden>)
 >Re: Binding label value to CoreDara int16 (From: John Pannell <email@hidden>)

  • Prev by Date: Binding label value to CoreDara int16
  • Next by Date: Re: Binding label value to CoreDara int16
  • Previous by thread: Re: Binding label value to CoreDara int16
  • Next by thread: Including Cocoa in a Carbon App
  • Index(es):
    • Date
    • Thread