File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22 s . name = "CollectionKit"
3- s . version = "2.0.0 "
3+ s . version = "2.0.1 "
44 s . summary = "A modern swift framework for building data-driven reusable collection view components."
55
66 s . description = <<-DESC
Original file line number Diff line number Diff line change 1515 <key >CFBundlePackageType </key >
1616 <string >FMWK </string >
1717 <key >CFBundleShortVersionString </key >
18- <string >2.0.0 </string >
18+ <string >2.0.1 </string >
1919 <key >CFBundleVersion </key >
2020 <string >$(CURRENT_PROJECT_VERSION) </string >
2121 <key >NSPrincipalClass </key >
Original file line number Diff line number Diff line change 66// Copyright © 2017 lkzhao. All rights reserved.
77//
88
9- import Foundation
9+ import UIKit
1010
1111public protocol CollectionReloadable : class {
1212 var collectionView : CollectionView ? { get }
@@ -52,7 +52,7 @@ internal class CollectionViewManager {
5252// UIScrollView has a weird behavior where its contentOffset resets to .zero when
5353// frame is assigned.
5454// this swizzling fixed the issue. where the scrollview would jump during scroll
55- extension CollectionView {
55+ extension UIScrollView {
5656 @objc func collectionKitAdjustContentOffsetIfNecessary( _ animated: Bool ) {
5757 guard !isDragging && !isDecelerating else { return }
5858 self . perform ( #selector( CollectionView . collectionKitAdjustContentOffsetIfNecessary) )
You can’t perform that action at this time.
0 commit comments