• 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 & NSDocument
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindowController & NSDocument


  • Subject: NSWindowController & NSDocument
  • From: Tae-Won Ha <email@hidden>
  • Date: Wed, 19 Sep 2001 23:47:50 +0200

Hi... I've got a question regarding NSWindowController & NSDocument.

How can I do this:
The document has 2 windows. When you open the doc, just one window is opened. If you click a button or something like that in this first window the first window disappears and the second one is displayed.

I tried this:
@implementation MyFirstWindowController
- (IBAction)someAction:(id)sender
{
MySecondWindowController *controller = init stuff.....;
[[self document] addWindowController:controller];
[controller release];
}
@end
It doesn't work...

Please help me..... (I just started to learn Cocoa & ObjC)

Tae-Won Ha
=)


  • Prev by Date: Re: Another suggestion for the new PB
  • Next by Date: division by zero not an error for cc?
  • Previous by thread: Re: String color
  • Next by thread: division by zero not an error for cc?
  • Index(es):
    • Date
    • Thread