• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings, a Tableview and an array (Newbie question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Bindings, a Tableview and an array (Newbie question)
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: NSUserDefaults and Application Domain
  • Next by Date: Re: NSUserDefaults and Application Domain
  • Previous by thread: Re: NSUserDefaults and Application Domain
  • Next by thread: Re: Bindings, a Tableview and an array (Newbie question)
  • Index(es):
    • Date
    • Thread