Compare commits

...

4 Commits

Author SHA1 Message Date
Max Sokolov 8a98c46f05 bump version 2016-10-07 18:33:31 +03:00
Max Sokolov 81c0d99e99 Merge pull request #49 from desyatov/swift/2.2
Swift/2.2, clear prototype cell heights
2016-10-07 18:31:02 +03:00
Alexander Desyatov ac051c1a3f Move heightStrategy invalidate method 2016-10-07 16:00:52 +03:00
Alexander Desyatov e9be0e8996 Use invalidate cash in TableDirector 2016-10-07 15:53:20 +03:00
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
<a href="https://travis-ci.org/maxsokolov/TableKit"><img src="https://api.travis-ci.org/maxsokolov/TableKit.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>
<a href="https://github.com/Carthage/Carthage"><img src="https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat" alt="Carthage compatible" /></a>
<a href="https://cocoapods.org/pods/tablekit"><img src="https://img.shields.io/badge/pod-1.2.0-blue.svg" alt="CocoaPods compatible" /></a>
<a href="https://cocoapods.org/pods/tablekit"><img src="https://img.shields.io/badge/pod-1.2.1-blue.svg" alt="CocoaPods compatible" /></a>
<img src="https://img.shields.io/badge/platform-iOS-blue.svg?style=flat" alt="Platform iOS" />
<a href="https://raw.githubusercontent.com/maxsokolov/tablekit/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a>
</p>
@ -217,4 +217,4 @@ Clone the repo and drag files from `Sources` folder into your Xcode project.
# License
TableKit is available under the MIT license. See LICENSE for details.
TableKit is available under the MIT license. See LICENSE for details.

View File

@ -254,7 +254,7 @@ public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate
}
public func clear() -> Self {
heightStrategy?.invalidate()
sections.removeAll()
return self
}

View File

@ -2,7 +2,7 @@ Pod::Spec.new do |s|
s.name = 'TableKit'
s.module_name = 'TableKit'
s.version = '1.2.0'
s.version = '1.2.1'
s.homepage = 'https://github.com/maxsokolov/TableKit'
s.summary = 'Type-safe declarative table views. Swift 2.2 is required.'