Re: NSValueTransformer for selectedObjects controller key - bug?
Re: NSValueTransformer for selectedObjects controller key - bug?
- Subject: Re: NSValueTransformer for selectedObjects controller key - bug?
- From: SA Dev <email@hidden>
- Date: Wed, 3 Aug 2005 15:09:37 -0400
Hello:
Have you set up the transformer in an +initialize method somewhere?
On Aug 3, 2005, at 2:50 PM, Javigator wrote:
Hi,
the last two hours I was trying to get a custom value tranformer
going for the enabled binding of a NSButton. Specifically I want it
to work with the selectedObjects controller key ob the bound
NSArrayController.
To no avail. All I get, right at the start of the app a sigtrap 5,
in every way I tried:
2005-08-03 20:44:17.227 BindingTest[8351] An uncaught exception was
raised
2005-08-03 20:44:17.227 BindingTest[8351] Cannot find value
transformer with name IsFlagSelectedTransformer
2005-08-03 20:44:17.227 BindingTest[8351] *** Uncaught exception:
<NSInternalInconsistencyException> Cannot find value transformer
with name CustomTransformer
But the transformer is there, and working: when I change the
controller key to some non-array delivering key, Cocoa is kind
enought to let my app start. But not, if there's any of
selectedIndexes, selectedObjects selected.
Anyone else experiencing this? Is this a bug? Or am I overlooking
something?
Best regards,
Joern Janoschek.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden