TreeSourceView
Swift µframework providing a "tree source view":
Usage
Initialize a TreeSourceView
, and provide a TreeSourceViewDataSource
and optionally, a TreeSourceViewDelegate
. These protocols are simple and reminiscent of the equivalents for UITableView
and UICollectionView
, so they should be easy to figure out.
TreeSourceView
uses variable-length NSIndexPath
values. If you're only familiar with NSIndexPath
in the fixed-length context of UITableView
or UICollectionView
, read the Apple documentation.
Documentation
If necessary, install jazzy
:
gem install jazzy
Then run:
make docs
To generate HTML documentation in the Documentation
subdirectory.
Installation
Add:
github "natestedman/TreeSourceView"
To your Cartfile
. Manual installation via submodules will also work. There are no dependencies, besides UIKit
.