• 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: awakeFromNib and windowWillLoad : basic question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib and windowWillLoad : basic question


  • Subject: Re: awakeFromNib and windowWillLoad : basic question
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 05 Jul 2003 07:36:50 -0400

on 03-07-04 2:24 PM, Chris Hanson at email@hidden wrote:

> I prefer to use -awakeFromNib only to finish configuring controls
> themselves, while I prefer to populate them in -windowDidLoad (or its
> NSDocument equivalent). Why? Because they're conceptually two
> different thing. The first is essentially to make up for a lack of
> Interface Builder palettes to finish configuring your view objects --
> for instance, being able to set an NSTableView's double-click action,
> or configuring a data cell for a table column -- while the second
> involves gluing your model objects to your view objects.

That's the best rationale I've seen for distinguishing these APIs. I never
got it quite this straight in my mind. Thanks.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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: 
 >Re: awakeFromNib and windowWillLoad : basic question (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Re: Timers in a Foundation Tool
  • Next by Date: Re: Basic NSGraphicsContext question
  • Previous by thread: Re: awakeFromNib and windowWillLoad : basic question
  • Next by thread: Re: awakeFromNib and windowWillLoad : basic question
  • Index(es):
    • Date
    • Thread