• 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
Open/Show window from external NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open/Show window from external NIB


  • Subject: Open/Show window from external NIB
  • From: Daniel <email@hidden>
  • Date: Fri, 7 Nov 2008 15:38:14 +0100

Hi everyone,

I'm working on an Input Manager and I need to display a window from an
external bundle (the bundle of the Input Manager).

I've just a created a default Window NIB resource, and unchecked
"Visible at launch" and "Release When Closed".

I'm performing this code for showing the window

<snippet>
NSBundle *bundle = [NSBundle bundleWithIdentifier: @"org.company.TA"];
NSWindowController *controller = [[NSWindowController alloc]
initWithWindowNibPath:[bundle pathForResource:@"DummyWindow"
ofType:@"nib"] owner:self];
[controller showWindow: self];
</snippet>

this is executed in a method of a NSTextView.

The problem is that nothing is showed and no error is raised.

Most probably, this is a typical newbie question, but my searches on
Google didn't turn out any solutions to my problem.

Thanks in advance,
Daniel
_______________________________________________

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

  • Prev by Date: Re: Issue with the downloading url
  • Next by Date: Re: Issue with the downloading url
  • Previous by thread: Re: release and reference counting query
  • Next by thread: Cocoa Application to front End for MySQL Database
  • Index(es):
    • Date
    • Thread