Hi There I am new to XCode 3.0. I am trying to get my head around opening a window more than once is this possible? My class is an NSObject inherited class
/* myController */
#import <Cocoa/Cocoa.h>
@interface myController : NSObject
{
IBOutlet NSWindow *myWindow
IBOutlet NSButton *myButtonToOpenWindow
}
- (IBAction)clickButtonToopenWindowid)sender;
@end
#import "myController.h"
@implementation myController
- (IBAction)clickButtonToopenWindowid)sender
{
[myWindow orderFront];
}
@end
How do I get it to open myWindow more than once when the button is clicked? Sorry if this question has already been asked before I could not find any thread for this. Thanks in advance
/* myController */
#import <Cocoa/Cocoa.h>
@interface myController : NSObject
{
IBOutlet NSWindow *myWindow
IBOutlet NSButton *myButtonToOpenWindow
}
- (IBAction)clickButtonToopenWindowid)sender;
@end
#import "myController.h"
@implementation myController
- (IBAction)clickButtonToopenWindowid)sender
{
[myWindow orderFront];
}
@end
How do I get it to open myWindow more than once when the button is clicked? Sorry if this question has already been asked before I could not find any thread for this. Thanks in advance