• 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
Re: Value transformers and app delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Value transformers and app delegates


  • Subject: Re: Value transformers and app delegates
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 16 Jan 2005 09:55:06 -0800


On Jan 16, 2005, at 8:59 AM, Johan Kool wrote:
I ran into the same problem. My app delegate's +(void)initialize
method was too late to register the value transformer that was used in
the nib that was loaded on startup. Registering before
NSApplicationMain() works, but it doesn't seem like the right way to
me. Is this a bug in Cocoa?

No, it's not a bug. It's up to you to determine where in your application you should register your value transformer before it will be used. The same principle applies to any global resource.

mmalc


_______________________________________________ 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
References: 
 >Re: Value transformers and app delegates (From: Johan Kool <email@hidden>)

  • Prev by Date: Sample NSSpellServer XCode-Project
  • Next by Date: Re: NSFileManager, 10.3.x and /tmp: bug?
  • Previous by thread: Re: Value transformers and app delegates
  • Next by thread: Sample NSSpellServer XCode-Project
  • Index(es):
    • Date
    • Thread