Created
July 8, 2009 01:53
-
-
Save chandlerkent/142506 to your computer and use it in GitHub Desktop.
Bug report for #105: http://github.com/280north/cappuccino/issues/unreads#issue/105
This file contains hidden or 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 | |
| * NewApplication | |
| * | |
| * Created by You on July 5, 2009. | |
| * Copyright 2009, Your Company All rights reserved. | |
| */ | |
| @import <Foundation/CPObject.j> | |
| @implementation AppController : CPObject | |
| { | |
| } | |
| - (void)applicationDidFinishLaunching:(CPNotification)aNotification | |
| { | |
| var theWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask], | |
| contentView = [theWindow contentView]; | |
| var array = [[CPMutableArray alloc] initWithObjects:@"One", @"Two", @"Three"]; | |
| console.log("BEFORE: ", array); | |
| [array insertObject:@"Four" atIndex:10]; | |
| console.log("AFTER INSERT: ", array); | |
| [array replaceObjectAtIndex:11 withObject:@"Five"]; | |
| console.log("AFTER REPLACE: ", array); | |
| [theWindow orderFront:self]; | |
| } | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment