Created
January 28, 2011 15:41
-
-
Save christo16/800413 to your computer and use it in GitHub Desktop.
AppController.j
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* AppController.j | |
* streams | |
* | |
* Created by You on January 28, 2011. | |
* Copyright 2011, Your Company All rights reserved. | |
*/ | |
@import <Foundation/CPObject.j> | |
@import "SidebarController.j" | |
@implementation AppController : CPObject | |
{ | |
SidebarController sidebarController @accessors; | |
} | |
- (void)applicationDidFinishLaunching:(CPNotification)aNotification | |
{ | |
var theWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask], | |
contentView = [theWindow contentView]; | |
// uncommenting out this line, creates a parse error | |
//sidebarController = [[SidebarController alloc]init]; | |
[theWindow orderFront:self]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment