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

Custom nsvaluetransformers


  • Subject: Custom nsvaluetransformers
  • From: John Timmer <email@hidden>
  • Date: Sat, 13 Dec 2003 17:56:37 -0500

I've followed the Apple Docs to try to use a custom NSValueTransformer
subclass in my application, setting it up for a control in IB. If I don't
register it, the app crashes with a sigbus on launch. If I register it in
the App Controller's "init" method, the program doesn't crash, so something
must be taking, but the transformer doesn't seem to work.

If I set a breakpoint in the "transformValue:" method, it never gets called,
which explains why it's not working, but I can't figure out why it seems to
register enough to keep the app from crashing, but not be used.

Any suggestions?

Cheers,

JT
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Custom nsvaluetransformers
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: Saving State of App menu
  • Next by Date: Re: NSMenu Trouble
  • Previous by thread: textview highlighting
  • Next by thread: Re: Custom nsvaluetransformers
  • Index(es):
    • Date
    • Thread