Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 12f4c3e966 | |||
| af0c4598be | |||
| a446dc45ff |
+10
-10
@@ -8,7 +8,7 @@
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'InfiniteLayout'
|
||||
s.version = '0.1.7'
|
||||
s.version = '0.2.0'
|
||||
s.summary = 'Horizontal and Vertical infinite scrolling feature for UICollectionView'
|
||||
|
||||
# This description is used to generate tags and improve search results.
|
||||
@@ -30,7 +30,7 @@ Horizontal and Vertical infinite scrolling feature for UICollectionView with Pag
|
||||
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.tvos.deployment_target = '9.0'
|
||||
|
||||
|
||||
#s.xcconfig = { 'SWIFT_OBJC_BRIDGING_HEADER' => '${POD_ROOT}/InfiniteLayout/BridgeHeader.h' }
|
||||
|
||||
# s.resource_bundles = {
|
||||
@@ -43,15 +43,15 @@ Horizontal and Vertical infinite scrolling feature for UICollectionView with Pag
|
||||
|
||||
s.default_subspec = 'Core'
|
||||
|
||||
s.subspec 'Core' do |sp|
|
||||
s.source_files = 'InfiniteLayout/Classes/**/*'
|
||||
s.subspec 'Core' do |core|
|
||||
core.source_files = 'InfiniteLayout/Classes/**/*'
|
||||
end
|
||||
|
||||
s.subspec 'Rx' do |sp|
|
||||
sp.dependency 'InfiniteLayout/Core', '~> 0.1'
|
||||
sp.dependency 'RxSwift', '~> 4.0'
|
||||
sp.dependency 'RxCocoa', '~> 4.0'
|
||||
sp.dependency 'RxDataSources', '~> 3.0'
|
||||
sp.source_files = 'InfiniteLayout/Rx/**/*'
|
||||
s.subspec 'Rx' do |rx|
|
||||
rx.dependency 'InfiniteLayout/Core', '~> 0.2'
|
||||
rx.dependency 'RxSwift', '~> 4.0'
|
||||
rx.dependency 'RxCocoa', '~> 4.0'
|
||||
rx.dependency 'RxDataSources', '~> 3.0'
|
||||
rx.source_files = 'InfiniteLayout/Rx/**/*'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -105,7 +105,9 @@ open class InfiniteCollectionView: UICollectionView {
|
||||
private func sharedInit() {
|
||||
self.showsVerticalScrollIndicator = false
|
||||
self.showsHorizontalScrollIndicator = false
|
||||
self.scrollsToTop = false
|
||||
#if os(iOS)
|
||||
self.scrollsToTop = false
|
||||
#endif
|
||||
}
|
||||
|
||||
open override func layoutSubviews() {
|
||||
|
||||
Reference in New Issue
Block a user