Skip to content

Commit 2a421e5

Browse files
committed
(POD SPEC UPDATE) update pod spec & readme
1 parent fd7e56e commit 2a421e5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

JJStaggeredGridCollectionView.podspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'JJStaggeredGridCollectionView'
11-
s.version = '0.1.0'
11+
s.version = '0.2.0'
1212
s.summary = 'A staggered UICollectionView grid layout.'
1313

1414
# This description is used to generate tags and improve search results.
@@ -38,5 +38,4 @@ A staggered UICollectionView grid layout subclassing UICollectionViewFlowLayout,
3838

3939
# s.public_header_files = 'Pod/Classes/**/*.h'
4040
s.frameworks = 'UIKit'
41-
# s.dependency 'AFNetworking', '~> 2.3'
4241
end

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ open var footerReferenceSize: CGSize
3434
open var sectionInset: UIEdgeInsets
3535
```
3636

37+
To set the number of columns your layout has, just change
38+
```swift
39+
collectionviewLayout.numColumns = 3
40+
```
3741
## Installation
3842

3943
JJStaggeredGridCollectionView is available through [CocoaPods](http://cocoapods.org). To install

0 commit comments

Comments
 (0)