FROM : Kyle Sluder
DATE : Fri Jan 11 23:49:53 2008
Given your funky syntax, it seems like you're not using KVC accessors,
so the tree controller isn't picking up KVO notifications when you
removeAllObjects. You can either use KVC compliant accessors and
mutators on the object to which @remoteTree belongs (or however Nu
works), or you can do all your manipulation through the
NSTreeController. Option 1 will probably entail writing the KVC
to-many relationship accessors so that you can use
mutableArrayValueForKey.
HTH,
--Kyle Sluder
DATE : Fri Jan 11 23:49:53 2008
Given your funky syntax, it seems like you're not using KVC accessors,
so the tree controller isn't picking up KVO notifications when you
removeAllObjects. You can either use KVC compliant accessors and
mutators on the object to which @remoteTree belongs (or however Nu
works), or you can do all your manipulation through the
NSTreeController. Option 1 will probably entail writing the KVC
to-many relationship accessors so that you can use
mutableArrayValueForKey.
HTH,
--Kyle Sluder
| Related mails | Author | Date |
|---|---|---|
| Adam Thorsen | Jan 11, 18:58 | |
| Kyle Sluder | Jan 11, 23:49 |






Cocoa mail archive

