• 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
NSValueTransformer for selectedObjects controller key - bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSValueTransformer for selectedObjects controller key - bug?


  • Subject: NSValueTransformer for selectedObjects controller key - bug?
  • From: Javigator <email@hidden>
  • Date: Wed, 3 Aug 2005 20:50:25 +0200

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSValueTransformer for selectedObjects controller key - bug?
      • From: SA Dev <email@hidden>
    • Re: NSValueTransformer for selectedObjects controller key - bug?
      • From: SA Dev <email@hidden>
  • Prev by Date: Inserting an (int) into an NSMutableArray
  • Next by Date: Re: Inserting an (int) into an NSMutableArray
  • Previous by thread: Re: Inserting an (int) into an NSMutableArray
  • Next by thread: Re: NSValueTransformer for selectedObjects controller key - bug?
  • Index(es):
    • Date
    • Thread