• 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: Unable to Load Window NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to Load Window NIB


  • Subject: Re: Unable to Load Window NIB
  • From: j o a r <email@hidden>
  • Date: Tue, 10 Jan 2006 09:59:47 +0100


On 10 jan 2006, at 09.02, Frederick C. Lee wrote:

Does anyone know why I can't load a NIB file?
The MainMenu.nib loads without hassle.
I've been loading NSWindowControllers in other projects but this one escapes me.

Have you verified that the nib file is being copied over to the built application?


if (!gvWindowController) {
[self setGVWindowController:[[GVWindowController alloc] init]];

This seems like a potential memory leak. It is the responsibility of the setter method to retain it's argument, and you should therefore pass the object autoreleased.


j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Unable to Load Window NIB (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Guarding against missing ObjC implementation
  • Next by Date: Re: Getting started with WebKit plugins
  • Previous by thread: Unable to Load Window NIB
  • Next by thread: Re: Unable to Load Window NIB
  • Index(es):
    • Date
    • Thread