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

Re: NSWindowController confusion


  • Subject: Re: NSWindowController confusion
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 19 Jun 2002 05:21:58 -0700

On Mon, 17 Jun 2002 20:10:31 -0500, Philippe Hausler
<email@hidden> said:

>- (IBAction)showWindows:(id)sender
>{
> [[wControllers objectAtIndex: 0] showWindow: self];
> [[wControllers objectAtIndex: 1] showWindow: self];
> [[wControllers objectAtIndex: 2] showWindow: self];
>}
>@end
>this does not display the windows

Because you have not actually loaded any window yet, so there is nothing to
show. Look at the docs on NSWindowController's window method. m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: What is wrong with my code (was : Distant DO)
  • Next by Date: Re: Snapping Window Locations
  • Previous by thread: NSWindowController confusion
  • Next by thread: Problem with GDB
  • Index(es):
    • Date
    • Thread