Re: NSValueTransformer
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