commit
a78411f4ef
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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.'
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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 ?? ""
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue