• 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: NSValueTransformer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSValueTransformer


  • Subject: Re: NSValueTransformer
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 22 Feb 2010 14:57:06 -0800

On 2010 Feb 22, at 06:01, Ivan C Myrvold wrote:

> I have bind the value in a tableview header title... This works perfect.

> The only exception is the table view header title.

Probably no one understands the problem.  As you have stated it, first you say that it works perfect, then you say that it's the "only exception".

> How do I change the foundString in the custom NSValue Transformer? Do I have to register the NSValueTransformer again?

Well, from your code it looks like foundString is an instance variable.  How do you normally set it?

If you continue to have trouble with the value transformer, I would suggest that you redesign to do it without the value transformer.  Instead, bind to some controller object that gets the data from your model and localizes.  That's the way I do this.  Less code, easier to read.

_______________________________________________

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: 
 >NSValueTransformer (From: Ivan C Myrvold <email@hidden>)

  • Prev by Date: CGContextEOFillPath not working .. ?
  • Next by Date: Core Data: Custom to-many relationship setter not being invoked
  • Previous by thread: NSValueTransformer
  • Next by thread: CGContextEOFillPath not working .. ?
  • Index(es):
    • Date
    • Thread