Is it possible to create such NSOutlineViews - like the Xcode navigator on the left, with clickable list items (buttons?) - purely via ASOC? I found several posts about NSDictionaries and arrays. But none of them was helpful to me with NSOutlineView. Example:
Yes. The data needs to be a list of records containing sub-records, and then you can use bindings. But setting up the records correctly is reasonably complex.
Are these records part of an NSDictionary construct? I tried to bind one but I had no success, not sure if the dict had the right structure. So I’m looking for some sample code.
Now I can successfully load a plist into such NSOutlineView. But I get only blank entries with no text. I can collapse and click them. Is there something that has di be set in IB to make them appear or needs the plist some additional entries or a different structure? My plist:
P.S.: Checked the tutorial “ApplescriptObjectC Part 4” http://macscripter.net/viewtopic.php?id=30359 and it’s the same there. Seems to be related to some changes in Xcode since then?