• 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
Re: Observing changes in Table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Observing changes in Table


  • Subject: Re: Observing changes in Table
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 17 Dec 2014 03:32:06 -0800

> On 2014 Dec 17, at 02:02, Gerriet M. Denkmann <email@hidden> wrote:
>
> A TableView with an ArrayController which has an Array of MutableDictionaries; keys corresponding to TableColumns.
> The table is editable and the dictionary of the edited row gets changed.
>
> But I want to know when any value of any row has been changed by the user, in order to update some data.
> This looks like a very common problem. So probably it has a very simple solution.

The short answer is that, yes, this is common and the solution is to bind the Content of your array controller to your data model using Cocoa Bindings.  I don’t know if your Data Model is the "Array of MutableDictionaries” or the “some data”.  We need more detail to give a better answer.
_______________________________________________

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


  • Follow-Ups:
    • Re: Observing changes in Table
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Observing changes in Table (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Observing changes in Table
  • Next by Date: Re: OSAScriptController's stopScript action
  • Previous by thread: Observing changes in Table
  • Next by thread: Re: Observing changes in Table
  • Index(es):
    • Date
    • Thread