• 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
When to register binding transformers (applicationDidFinishLaunching)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When to register binding transformers (applicationDidFinishLaunching)?


  • Subject: When to register binding transformers (applicationDidFinishLaunching)?
  • From: Tod Cunningham <email@hidden>
  • Date: Sun, 21 Mar 2004 23:58:36 -0500

According to the binding documentation from apple (http://developer.apple.com/documentation/Cocoa/Conceptual/ ValueTransformers/index.html): "Value transformers are typically registered by an applications delegate, in response to receiving a applicationDidFinishLaunching: message."

However if I setup manual binding with a custom transform in awakeFromNib controller, the application will assert with NSInternalInconsistencyException because my transform hasn't been registered yet. Also the application will assert when the nib is loaded, if the transform is specified in the NIB file itself. So where is the best place to register the transform? I should mention that this is a non-document based application...

Thanks,

Tod
_______________________________________________
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: When to register binding transformers (applicationDidFinishLaunching)?
      • From: "b.bum" <email@hidden>
    • Re: When to register binding transformers (applicationDidFinishLaunching)?
      • From: Scott Anguish <email@hidden>
    • Re: When to register binding transformers (applicationDidFinishLaunching)?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Re: how do I detect a click in a tableView cell?
  • Next by Date: Re: [OT] Anti-FAQ (was: Re: Should I even bother)
  • Previous by thread: Cocoa iTunes plugin?
  • Next by thread: Re: When to register binding transformers (applicationDidFinishLaunching)?
  • Index(es):
    • Date
    • Thread