Greedo Layout for iOS
A library that computes what size the UICollectionView
cells should be to display images in a variable height fixed aspect ratio grid.
Getting Started
Installation with CocoaPods
CocoaPods is a 3rd-party dependency manager for Swift and Objective-C projects. For more information, refer to the CocoaPods Getting Started Guide. Otherwise, you can install CocoaPods with the following command:
$ gem install cocoapods
Podfile
To integrate GreedoLayout into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
pod 'GreedoLayout'
Then, run the following command:
$ pod install
License
GreedoLayout is released under the MIT license. See LICENSE
for details.