FROM : MagmaRules
DATE : Tue Jan 29 22:21:18 2008
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.
Ty.
DATE : Tue Jan 29 22:21:18 2008
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.
Ty.
| Related mails | Author | Date |
|---|---|---|
| MagmaRules | Jan 29, 22:21 | |
| Miguel Coxo | Jan 30, 01:16 | |
| Ken Thomases | Jan 30, 09:07 | |
| Miguel Coxo | Jan 30, 22:16 | |
| Ken Thomases | Jan 31, 01:41 | |
| Miguel Coxo | Jan 31, 23:37 |






Cocoa mail archive

