Powerful data driven content manager for UITableView written in Swift.
TableViewDataManager
allows to manage the content of any UITableView
with ease, both forms and lists. TableViewDataManager
is built on top of reusable cells technique and provides APIs for mapping any object class to any custom cell subclass.
The general idea is to allow developers to use their own UITableView
and UITableViewController
instances (and even subclasses), providing a layer that synchronizes data with the cell appereance.
It fully implements UITableViewDelegate
and UITableViewDataSource
protocols so you don't have to.
To run the example project, clone the repo, and run pod install
from the Example directory first.
- iOS 8.0+
- Swift 2.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 0.39.0+ is required to build TableViewDataManager.
To integrate TableViewDataManager into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'TableViewDataManager'
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate TableViewDataManager into your Xcode project using Carthage, specify it in your Cartfile
:
github "TableViewDataManager/TableViewDataManager" ~> 0.1
Run carthage update
to build the framework and drag the built TableViewDataManager.framework
into your Xcode project.
If you prefer not to use either of the aforementioned dependency managers, you can integrate TableViewDataManager into your project manually.
Roman Efimov
TableViewDataManager is available under the MIT license. See the LICENSE file for more info.