Skip to content

Commit

Permalink
(POD SPEC UPDATE) update pod spec & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jjimeno committed May 22, 2017
1 parent fd7e56e commit 2a421e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions JJStaggeredGridCollectionView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'JJStaggeredGridCollectionView'
s.version = '0.1.0'
s.version = '0.2.0'
s.summary = 'A staggered UICollectionView grid layout.'

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

# s.public_header_files = 'Pod/Classes/**/*.h'
s.frameworks = 'UIKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ open var footerReferenceSize: CGSize
open var sectionInset: UIEdgeInsets
```

To set the number of columns your layout has, just change
```swift
collectionviewLayout.numColumns = 3
```
## Installation

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

0 comments on commit 2a421e5

Please sign in to comment.