Dependencies and Project Setup
MAFTreeView is a complex reusable control, which builds on top of other simple reusable controls, such as MAFUILabel, MAFUIImageView, and MAFUIView. MAFTreeView also uses the skinning infrastructure of the MAFSkinManager, thus it depends on the MAFUIControls library as well.
Set up the dependencies in your development environment. Start a single-view project in Xcode and place all of the following sample code snippets into the ViewController class. Assign a name to this view controller class (sample codes in this document refer to it as MyTreeViewSampleViewController).
- com.sap.mobile.maf.ui.ios/MAFUIComponents (MAFUIComponents.a)
- com.sap.mobile.maf.ui.ios/MAFTreeView (MAFTreeView.a)