Rép : NSWindowController & NSDocument
Rép : NSWindowController & NSDocument
- Subject: Rép : NSWindowController & NSDocument
- From: Roland Laurès <email@hidden>
- Date: Thu, 20 Sep 2001 15:08:29 +0200
Hi,
Try to find some help in this example (I can't do more for u
actually because I'm a newby too :) ) : SimpleMultiWindow (in the
developer/examples/InterfaceBuilder folder) with the developper tools of
MOSX.
Bye and good luke ;)
Le mercredi 19 septembre 2001, ` 11:47 PM, Tae-Won Ha a icrit :
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
=)
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev