• 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: KVC Problems with Indexed Accessor for To-Many Properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVC Problems with Indexed Accessor for To-Many Properties


  • Subject: Re: KVC Problems with Indexed Accessor for To-Many Properties
  • From: Scott Stevenson <email@hidden>
  • Date: Fri, 13 Oct 2006 18:01:15 -0700


On Oct 13, 2006, at 8:10 AM, joe OneNinetyTwo wrote:

My problem is:  When I edit a value (cell) in the
table, once I hit return the cell goes back to it's
original value.  I thought that my arrayController
would call removeObjectFromDataPointsAtIndex followed
by insertObject:inDataPointsAtIndex in this case, but
they never get called by the array controller.

Editing a value in a table cell generally changes a property value of something *in* the array, not the array itself.


If I have a table of "Person" objects and I enter a value for "First Name" in one of the rows, there's no need for the object to be removed and re-inserted in the array. It just updates the string value of firstName on that one object.

   - Scott
_______________________________________________
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: KVC Problems with Indexed Accessor for To-Many Properties
      • From: joe OneNinetyTwo <email@hidden>
References: 
 >KVC Problems with Indexed Accessor for To-Many Properties (From: joe OneNinetyTwo <email@hidden>)

  • Prev by Date: Re: Core Data: different fetch performance when launching app
  • Next by Date: Re: KVC Problems with Indexed Accessor for To-Many Properties
  • Previous by thread: KVC Problems with Indexed Accessor for To-Many Properties
  • Next by thread: Re: KVC Problems with Indexed Accessor for To-Many Properties
  • Index(es):
    • Date
    • Thread