what is the best way to build a binding compatible outline view datasouce in cappuccino ? i.e. a kind of CPTreeController
my source is currently a jSON object (containing objects and arrays) and I would like to display it into an outline view as well as being able to change its parameters / get notified for the changes. (Once loaded into the CPTreeController, I do not need to serialize it back to jSON, I will work directly with the datasource)
Then:
- Is there a hidden CPTreeController somewhere or a similar lib ready to use ?
- If I rewrite my own datasource, should I write it all from scratch or could I easily mix CPDictionaries and CPArrays to achieve this task ? (keeping in mind it should be bindings compliant)