I am quite new to Cocoa framework in terms of both language and framework. What is the equivalent class for creating a Tree view on Mac OS X. I am trying to port an UI on Mac OS X. In this, a tree view is used to store some names and names under them. They are being set by a function provided by me (say AddItemUnder).
How to create tree view on Mac OS X? I saw NSOutlineView. But that requires some data source. In my case, I do not have any data source.
Also, in my case, only UI related will be in Objective-C. Rest code will be in C++ and may be common for both Windows and Mac OS X.
Currently, I need tree-view where I can add items like a hierarchical tree.