• 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: NSTableView questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView questions


  • Subject: Re: NSTableView questions
  • From: Bill Bumgarner <email@hidden>
  • Date: Mon, 8 Oct 2007 09:36:02 -0500

On Oct 8, 2007, at 9:29 AM, Chris Williams wrote:
The only really good solution is to wait until even later -- in
"applicationDidFinishLaunching".

(Sorry, missed the originally poster's question)

Which works great for application launching. You can also - performSelector:afterDelay: with a delay of 0.0 in - applicationDidFinishLaunching: to cause initialization to happen at the top of the first pass through the event loop.

For any other nib, there are two situations:

NSDocuments: Provides methods that can be used to initialize a document as its nib(s) is(are) loaded.

Everything else: You wrote code to load the nib; add your customization code immediately after the nib loading.

Off the top of my head, I can't think of anything else that loads NIBs automatically that doesn't have a convenient spot for initialization.

b.bum

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: NSTableView questions (From: Chris Williams <email@hidden>)

  • Prev by Date: Re: NSTableView questions
  • Next by Date: NSManagedObject class method error
  • Previous by thread: Re: NSTableView questions
  • Next by thread: Re: NSTableView questions
  • Index(es):
    • Date
    • Thread