File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "CollectionKit"
3
- s . version = "2.0.0 "
3
+ s . version = "2.0.1 "
4
4
s . summary = "A modern swift framework for building data-driven reusable collection view components."
5
5
6
6
s . description = <<-DESC
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >2.0.0 </string >
18
+ <string >2.0.1 </string >
19
19
<key >CFBundleVersion </key >
20
20
<string >$(CURRENT_PROJECT_VERSION) </string >
21
21
<key >NSPrincipalClass </key >
Original file line number Diff line number Diff line change 6
6
// Copyright © 2017 lkzhao. All rights reserved.
7
7
//
8
8
9
- import Foundation
9
+ import UIKit
10
10
11
11
public protocol CollectionReloadable : class {
12
12
var collectionView : CollectionView ? { get }
@@ -52,7 +52,7 @@ internal class CollectionViewManager {
52
52
// UIScrollView has a weird behavior where its contentOffset resets to .zero when
53
53
// frame is assigned.
54
54
// this swizzling fixed the issue. where the scrollview would jump during scroll
55
- extension CollectionView {
55
+ extension UIScrollView {
56
56
@objc func collectionKitAdjustContentOffsetIfNecessary( _ animated: Bool ) {
57
57
guard !isDragging && !isDecelerating else { return }
58
58
self . perform ( #selector( CollectionView . collectionKitAdjustContentOffsetIfNecessary) )
You can’t perform that action at this time.
0 commit comments