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

To me, this sounds like some data is being read and displayed in the table, but it's not quite what you want. If you do an NSLog(@"%@", someArray), the -description method will be called on someArray. NSArray displays an opening bracket, a description of every single object, and then a closing bracket. NSDictionary does something similar. Are you sure the "title" property is an NSString or NSNumber?

Try something like this in your code and see what you really got in there:

id obj = [[arrayController arrangedObjects] objectAtIndex:0];
NSLog(@"object: %@ class: %@", obj, NSStringFromClass([obj class]));

Look whether obj is the thing you want to display in every row, and whether it really does have a -title property of type NSString or NSNumber.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to