Re: self registering NSValueTransformer and bindings

2008-05-08 Thread Torsten Curdt
On May 8, 2008, at 13:59, I. Savant wrote: Well, maybe it's language barrier as a non-native speaker ...but in order for the transformer to do its job it requires a reference to the NSTabView to be set. And I was trying to inject that reference through a binding. That's what I wanted to

Re: self registering NSValueTransformer and bindings

2008-05-08 Thread I. Savant
Well, maybe it's language barrier as a non-native speaker ...but in order for the transformer to do its job it requires a reference to the NSTabView to be set. And I was trying to inject that reference through a binding. That's what I wanted to say. Perhaps, but for clarity, in the Coc

Re: self registering NSValueTransformer and bindings

2008-05-08 Thread Torsten Curdt
On May 7, 2008, at 19:32, I. Savant wrote: I have a self registering NSValueTransformer that requires a binding. Did you mean it's required for use in a binding? Well, maybe it's language barrier as a non-native speaker ...but in order for the transformer to do its job it requires a refe

Re: self registering NSValueTransformer and bindings

2008-05-07 Thread I. Savant
> I have a self registering NSValueTransformer that requires a binding. Did you mean it's required for use in a binding? > @interface MyValueTransformer : NSValueTransformer { > IBOutlet NSTabView *tabView; > } That's probably not going to work out ... (see below) > // from http://ww

self registering NSValueTransformer and bindings

2008-05-07 Thread Torsten Curdt
I have a self registering NSValueTransformer that requires a binding. @interface MyValueTransformer : NSValueTransformer { IBOutlet NSTabView *tabView; } + (Class)transformedValueClass; + (BOOL)allowsReverseTransformation; - (id)transformedValue:(id)value; @implementation MyValueTransformer