• 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: NSDocument not loading nib soon enough
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument not loading nib soon enough


  • Subject: Re: NSDocument not loading nib soon enough
  • From: m <email@hidden>
  • Date: Thu, 22 Mar 2007 00:16:41 +0200


On Mar 21, 2007, at 10:38 PM, Alan Smith wrote:

The question is, how do I get the nib to load so I can use my
IBOutlets when loading a file?

You're wanting to swim upstream, methinks.

A more "Cocoa" way is to load your file's data into member variables (aka "model") of your NSDocument then in your windowControllerDidLoadNib: method set up your views to reflect the contents of your model.

Check out:
<file:///Developer/ADC Reference Library/documentation/Cocoa/ Conceptual/Documents/Articles/ObjectInteractions.html#//apple_ref/doc/ uid/TP40003196>


_murat

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >NSDocument not loading nib soon enough (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: Why does (id <MyProtocol>) have to be id?
  • Next by Date: Re: Glyph from Character
  • Previous by thread: Re: NSDocument not loading nib soon enough
  • Next by thread: NSDocument printInfo always returns same instance?
  • Index(es):
    • Date
    • Thread