• 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
problem loading a window in a new NIB using NSWindowController.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem loading a window in a new NIB using NSWindowController.


  • Subject: problem loading a window in a new NIB using NSWindowController.
  • From: deepak gopal <email@hidden>
  • Date: Thu, 4 Oct 2007 00:10:42 +0530 (IST)

Hi

I am trying to load a Nib File Using the code below.  [myWindowController window] crashes the app.

  NSWindowController *myWindowController = [[[MyWindowController alloc] initWithWindowNibName:@"SymbolsView"] autorelease];



  [[myWindowController window] makeKeyAndOrderFront:nil];

SymbolsView is the Nib name in which I have one window which has a tableView. I have made MyWindowController (NSWindowController) which is the file's owner of the NIB, as the delegate for the window and have connected  my window to the 'window' outlet in MyWindowController.

Am I missing something here?

Thank you
DG



      Flying to Bangalore or Bhopal? Search for tickets at http://in.farechase.yahoo.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: problem loading a window in a new NIB using NSWindowController.
      • From: Dave Hersey <email@hidden>
    • Re: problem loading a window in a new NIB using NSWindowController.
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Hardware copy protection
  • Next by Date: Re: problem loading a window in a new NIB using NSWindowController.
  • Previous by thread: Re: SCNetworkConnection - Dictionary/Subdictionary
  • Next by thread: Re: problem loading a window in a new NIB using NSWindowController.
  • Index(es):
    • Date
    • Thread