Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Binding TableColumn Programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding TableColumn Programatically



I am adding a NSTableColumn to a tableview

NSTableColumn *aTableColumn = [[NSTableColumn alloc]

initWithIdentifier: @"title"];
[tableView addTableColumn:aTableColumn];

and Binding the tableColumn to an array controller (which contains array of Dictionaries) with key path title.

[aTableColumn bind:NSValueBinding toObject:arrayController withKeyPath:@"arrangedObjects.title" options:nil];

but in the above added tableColumn data is not populated and an opening brace is shown in each row of that column.

someone, please, lend me a clue!  What am I missing here?


kiran Sanka email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.