/* * AppController.j * CPDictionaryControllerTest * * Created by Blair Duncan on February 17, 2013. * Copyright 2013, SGL Studio, BBDO Toronto All rights reserved. */ @import @import @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