mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 11:07:07 +00:00
formatting and now subclassing is tested by Open a document
This commit is contained in:
1 parent
310422adb1
commit
fabe1d8991
5 files changed
+17
-10
No files matched your search
@@ -17,10 +17,6 @@
|
||||
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
|
||||
{
|
||||
// This is called when the application is done loading.
|
||||
var sharedDocController = [CPDocumentController sharedDocumentController];
|
||||
var docController = [[DocumentController alloc] init];
|
||||
var cpAlert = [CPAlert alertWithMessageText:@"Is this the shared instance? " + (sharedDocController == docController) defaultButton:@"OK" alternateButton:nil otherButton:nil informativeTextWithFormat:nil];
|
||||
[cpAlert beginSheetModalForWindow:[[CPApplication sharedApplication] mainWindow]];
|
||||
}
|
||||
|
||||
- (void)applicationWillFinishLaunching:(CPNotification)aNotification
|
||||
|
||||
Reference in new issue
Block a user