• 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: Where to set default user defaults?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to set default user defaults?


  • Subject: Re: Where to set default user defaults?
  • From: Clark Cox <email@hidden>
  • Date: Fri, 21 Nov 2003 10:21:59 -0500

On Nov 21, 2003, at 08:38, John Timmer wrote:

> I know there's been some discussion in the past about what the order of
> "wakeFromNib" calling is (and the answer seems to be "none is
> guaranteed").
> A related question that I couldn't find in the archives - are all the
> "init"
> methods called before all the "awakeFromNib" methods?

For the loading of any single nib, yes.

> The reason I'm asking is that I want to set some default user defaults
> for
> the first time the app launches, and I'm going to need some of them
> before
> the application's interface gets displayed. So, in short, I need to
> have
> something that's called first during the app launching process.

How about implementing -
(void)applicationWillFinishLaunching:(NSNotification *)notification; in
your application's delegate?

--
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >Where to set default user defaults? (From: John Timmer <email@hidden>)

  • Prev by Date: Re: [OT] Don't leak memory!!
  • Next by Date: Using ssh with the NSTask class
  • Previous by thread: Where to set default user defaults?
  • Next by thread: Re: Where to set default user defaults?
  • Index(es):
    • Date
    • Thread