• 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: Nib files and outlets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nib files and outlets


  • Subject: Re: Nib files and outlets
  • From: Ricky Sharp <email@hidden>
  • Date: Sat, 27 Nov 2004 17:39:50 -0600


On Nov 27, 2004, at 5:17 PM, Björn Carlström wrote:

I suppose this is in the FAQ somewhere but I couldn't find it.
At a certain point in my code I need to load a nib file and present a window to the user. The nib file also contains a WindowController which is hooked up to another controller object, which I need to display the right information in the window. Now, when loading the nib with initWithWindowNibName the controller object isn't connected to the Window Controllers outlet yet.


Is there a way to wait around until the nib has finished loading?

How about implementing awakeFromNib? All connections should then be established and you can set up any initial state.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
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


  • Follow-Ups:
    • Re: Nib files and outlets
      • From: Björn Carlström <email@hidden>
References: 
 >Nib files and outlets (From: Björn Carlström <email@hidden>)

  • Prev by Date: Re: IBPalette refuses to bring up inspector [SOLVED]
  • Next by Date: Re: checking for line ending types
  • Previous by thread: Nib files and outlets
  • Next by thread: Re: Nib files and outlets
  • Index(es):
    • Date
    • Thread