Files
cappuccino/Tests/Manual/CPDictionaryControllerTest/AppController.j
T
2013-02-18 16:53:54 -05:00

36 lines
926 B
Plaintext

/*
* AppController.j
* CPDictionaryControllerTest
*
* Created by Blair Duncan on February 17, 2013.
* Copyright 2013, SGL Studio, BBDO Toronto All rights reserved.
*/
@import <Foundation/CPObject.j>
@import <AppKit/CPDictionaryController.j>
@implementation AppController : CPObject
{
@outlet CPWindow theWindow;
CPDictionaryController dictionaryController @accessors;
}
- (void)applicationDidFinishLaunching:(CPNotification)aNotification
{
// This is called when the application is done loading.
}
- (void)awakeFromCib
{
var dictionary = [CPDictionary dictionaryWithObjectsAndKeys:
@"867-5309", @"Phone Number", // Phone Number is in the Excluded List in the Xib
@"Blair", @"First Name",
@"Duncan", @"Last Name",
@"Toronto", @"City"];
[dictionaryController setContent:dictionary];
}
@end