29 lines
1.6 KiB
Markdown
29 lines
1.6 KiB
Markdown

|
|
|
|
#TableKit
|
|
|
|
<p align="left">
|
|
<a href="https://travis-ci.org/maxsokolov/Tablet.swift"><img src="https://api.travis-ci.org/maxsokolov/Tablet.swift.svg" alt="Build Status" /></a>
|
|
<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/Swift_2.2-compatible-4BC51D.svg?style=flat" alt="Swift 2.2 compatible" /></a>
|
|
<img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" />
|
|
<a href="https://cocoapods.org/pods/tablet"><img src="https://img.shields.io/badge/pod-0.5.0-blue.svg" alt="CocoaPods compatible" /></a>
|
|
<a href="https://raw.githubusercontent.com/maxsokolov/tablet/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
|
|
</p>
|
|
|
|
TableKit is a super lightweight yet powerful generic library that handles a complexity of UITableView's datasource and delegate methods in a Swift environment. Tablet's goal is to provide an easiest way to create complex table views. With Tablet you don't have to write a messy code of `switch` or `if` statements when you deal with bunch of different cells in different sections.
|
|
|
|
## Features
|
|
|
|
- [x] Type-safe cells based on generics
|
|
- [x] The easiest way to map your models or view models to cells
|
|
- [x] Correctly handles autolayout cells with multiline labels
|
|
- [x] Chainable cell actions (select/deselect etc.)
|
|
- [x] Support cells created from code, xib, or storyboard
|
|
- [x] Automatic xib/classes registration
|
|
- [x] No need to subclass
|
|
- [x] Extensibility
|
|
- [x] Tests
|
|
|
|
## License
|
|
|
|
Tablet is available under the MIT license. See LICENSE for details. |