• 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
Best way to notify the Controller when one Array object value is changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to notify the Controller when one Array object value is changed


  • Subject: Best way to notify the Controller when one Array object value is changed
  • From: "Miguel Coxo" <email@hidden>
  • Date: Wed, 30 Jan 2008 00:16:51 +0000

Hello, so i have one ArrayController that is bound to one Array, and a
tablecolumn that is bound to the ArrayController objects (not any particular
value).

As a normal behavior the controller gets notified when i add or remove
objects, but i have a thread that every second updates the objects. What is
the correct way to notify the Controller that a specific object values where
changed?

I'm guessing the Thread shouldn't have direct access to the Controller since
its in a "lower" abstraction layer, so how do i notify or make the
controller track changes to values?

The column is not bound to values because it has custom dataCells that need
several properties from the array objects.

PS: if my previous mail really arrived im sorry, i had my mails mixed up and
used the wrong one =)

Ty.
_______________________________________________

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: Best way to notify the Controller when one Array object value is changed
      • From: Ken Thomases <email@hidden>
  • Prev by Date: Re: Tracking files moved by the finder?
  • Next by Date: Layer-Backed NSOpenGLView
  • Previous by thread: Best way to notify the Controller when one Array object value is changed
  • Next by thread: Re: Best way to notify the Controller when one Array object value is changed
  • Index(es):
    • Date
    • Thread