Skip to content

500px/greedo-layout-for-ios

Repository files navigation

Greedo Layout for iOS

Version License Platform

A library that computes what size the UICollectionView cells should be to display images in a variable height fixed aspect ratio grid.

image

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.