Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/500px/greedo-layout-for-ios

Full aspect ratio grid layout for iOS
https://github.com/500px/greedo-layout-for-ios

cocoapods greedo-layout ios layout library objective-c uicollectionview

Last synced: about 1 month ago
JSON representation

Full aspect ratio grid layout for iOS

Awesome Lists containing this project

README

        

# 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.