mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
26 lines
448 B
Plaintext
26 lines
448 B
Plaintext
@import <Foundation/CPObject.j>
|
|
|
|
@import "SheetWindowController.j"
|
|
|
|
@implementation AppController : CPObject
|
|
{
|
|
SheetController _sheetController;
|
|
}
|
|
|
|
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
|
|
{
|
|
}
|
|
|
|
- (void)awakeFromCib
|
|
{
|
|
_sheetController = [[SheetWindowController alloc] initWithWindowCibName:@"Window"];
|
|
[self newDocument:self];
|
|
}
|
|
|
|
- (void)newDocument:(id)sender
|
|
{
|
|
[_sheetController newWindow:self];
|
|
}
|
|
|
|
@end
|