Bindings, a Tableview and an array (Newbie question)
Bindings, a Tableview and an array (Newbie question)
- Subject: Bindings, a Tableview and an array (Newbie question)
- From: Nik Youdale <email@hidden>
- Date: Sat, 6 May 2006 10:19:43 +1000
Hi,
I have just started to play around with bindings and want to do
something relatively simple. I want to have a tableview that is bound
to an array of strings, so that in this tableview i can view the
contents of the array (strings) and also edit the contents of the array.
I am able to get the array displayed in the tableview with no
problems using an NSObjectController and an NSArrayController and
binding the array controller to the value thing of the table column.
But I can not get it to edit the strings in the array.
Is there a tutorial or some simple steps i can take to achieve this
sort of thing with bindings? (I can do it with the delegate methods
of a tableView, but that requires a lot of code).
Cheers
Nik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden