Merge pull request #6 from maxsokolov/develop

0.2.4
This commit is contained in:
Max Sokolov 2016-02-18 12:24:21 +03:00
commit a78411f4ef
5 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<p align="left">
<a href="https://developer.apple.com/swift"><img src="https://img.shields.io/badge/Swift2-compatible-4BC51D.svg?style=flat" alt="Swift 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.2.3-blue.svg" alt="CocoaPods compatible" /></a>
<a href="https://cocoapods.org/pods/tablet"><img src="https://img.shields.io/badge/pod-0.2.4-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>

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Tablet'
s.version = '0.2.3'
s.version = '0.2.4'
s.homepage = 'https://github.com/maxsokolov/tablet'
s.summary = 'Powerful type-safe tool for UITableView. Swift 2.0 is required.'

View File

@ -28,7 +28,7 @@ public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate
private weak var tableView: UITableView!
private var sections = [TableSectionBuilder]()
public var scrollDelegate: UIScrollViewDelegate?
public weak var scrollDelegate: UIScrollViewDelegate?
public init(tableView: UITableView) {
super.init()

View File

@ -109,7 +109,7 @@ public extension ConfigurableCell where Self: UITableViewCell {
static func reusableIdentifier() -> String {
return String(self.dynamicType).componentsSeparatedByString(".").last ?? ""
return NSStringFromClass(self).componentsSeparatedByString(".").last ?? ""
}
}