• 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: How to load a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to load a window


  • Subject: Re: How to load a window
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 21 Sep 2008 14:58:00 -0600


On Sep 21, 2008, at 2:53 PM, Eric Lee wrote:

On CocoaDevCentral, they say to use NSBundle, but I read on the documentation that you can also use NSWindowController?


NSBundle has the master methods for loading nibs into memory. NSWindowController uses NSBundle internally. Generally, if your nib has only a window + its views + some affiliated resources in it, then you should probably use (or subclass, if you want to do anything fancy) NSWindowController.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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


  • Follow-Ups:
    • Re: How to load a window
      • From: "Michael Ash" <email@hidden>
References: 
 >How to load a window (From: Eric Lee <email@hidden>)

  • Prev by Date: How to load a window
  • Next by Date: Appropriateness of assign attribute and -fobj-gc-only
  • Previous by thread: How to load a window
  • Next by thread: Re: How to load a window
  • Index(es):
    • Date
    • Thread