• 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
-[NSWindowController window] fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-[NSWindowController window] fails


  • Subject: -[NSWindowController window] fails
  • From: Alexander Shmelev <email@hidden>
  • Date: Fri, 28 Nov 2008 13:06:59 +0300

Hello,

I have NSWindowController which loads nib with following code:

- (id) init
{
	if (![super initWithWindowNibName:@"Dialog"])
		return nil;
	[self window];
}

I use [self window] to force nib load. This code perfectly works on Leopard(Intel), but [self window] fails if I run it on Tiger(PPC) - code after [self window] is not executed.

I tried Xcode 3.1.1 and 2.5, xib and nib - result is same.

[self windowNibPath] shows correct path to nib file.

Could you advise me, how can I fix this issue?

_______________________________________________

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: -[NSWindowController window] fails
      • From: j o a r <email@hidden>
    • Re: -[NSWindowController window] fails
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Text blurred in application
  • Next by Date: Re: Garbage collection leak in simple Core Data application
  • Previous by thread: Re: Text blurred in application
  • Next by thread: Re: -[NSWindowController window] fails
  • Index(es):
    • Date
    • Thread