View Based TableView - how to use bindings?
View Based TableView - how to use bindings?
- Subject: View Based TableView - how to use bindings?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Thu, 02 May 2013 01:52:25 +0700
I have a view-based table view which currently uses a DataSource.
But I would like to use bindings instead.
I know how to do this with a cell-based table view - and I was following "Populating View-Based Table Views using Cocoa Bindings".
My array controller has arrangedObjects which seem to be right.
But my table is absolutely empty.
The Array Controller has it's content bound to some array of dictionaries, which have the keys "Name" and "Image".
The table view's content is bound to Array Controller arrangedObjects. The only TableColumn is not bound to anything.
The Image View of the Table Cell View has it's Value bound to Table Cell View objectValue.Image.
The Static Text of the Table Cell View has it's Value bound to Table Cell View objectValue.Name.
But still - the table remains empty.
What might I be missing?
Gerriet.
_______________________________________________
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