# Greedo Layout for iOS [![Version](https://img.shields.io/cocoapods/v/GreedoLayout.svg?style=flat)](https://cocoapods.org/pods/GreedoLayout) [![License](https://img.shields.io/cocoapods/l/GreedoLayout.svg?style=flat)](https://cocoapods.org/pods/GreedoLayout) [![Platform](https://img.shields.io/cocoapods/p/GreedoLayout.svg?style=flat)](https://cocoapods.org/pods/GreedoLayout) A library that computes what size the `UICollectionView` cells should be to display images in a variable height fixed aspect ratio grid. ![image](screenshot.png) ### Getting Started #### Installation with CocoaPods [CocoaPods](cocoapods.org) is a 3rd-party dependency manager for Swift and Objective-C projects. For more information, refer to the [CocoaPods Getting Started Guide](https://guides.cocoapods.org/using/getting-started.html). Otherwise, you can install CocoaPods with the following command: ```bash $ gem install cocoapods ``` ##### Podfile To integrate GreedoLayout into your Xcode project using CocoaPods, specify it in your `Podfile`: ```ruby source 'https://github.com/CocoaPods/Specs.git' pod 'GreedoLayout' ``` Then, run the following command: ```bash $ pod install ``` ### License GreedoLayout is released under the MIT license. See `LICENSE` for details.