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

https://github.com/michaelhenry/mhpinterestlayout

customized dynamic cell - Pinterest layout with custom header
https://github.com/michaelhenry/mhpinterestlayout

Last synced: 9 months ago
JSON representation

customized dynamic cell - Pinterest layout with custom header

Awesome Lists containing this project

README

          

# MHPinterestLayout

[![CI Status](http://img.shields.io/travis/michaelhenry/MHPinterestLayout.svg?style=flat)](https://travis-ci.org/michaelhenry/MHPinterestLayout)
[![Version](https://img.shields.io/cocoapods/v/MHPinterestLayout.svg?style=flat)](http://cocoapods.org/pods/MHPinterestLayout)
[![License](https://img.shields.io/cocoapods/l/MHPinterestLayout.svg?style=flat)](http://cocoapods.org/pods/MHPinterestLayout)
[![Platform](https://img.shields.io/cocoapods/p/MHPinterestLayout.svg?style=flat)](http://cocoapods.org/pods/MHPinterestLayout)

![MHPinterestLayout screenshot](https://iamkel.s3.amazonaws.com/opensource/mhpinterestlayout/1.png?u=kel "MHPinterestLayout")

## Possible output

```
/*
|___________|
|__1__| 2 |
|__3__|_____|
| 4 |__5__|
|_____|__6__|
| |__8__|
| 7 |__9__|
|_____|__10_|
| 11 | |
|_____| 12 |
| 13 |_____|
|_____|__14_|
| |

if 2 columned view
(0,0)
(1,0)
(0,1)
(0,2)
(1,2)
(1,3)
(0,4)
(1,4)
(1,5)
(1,6)
(0,7)
(1,7)
(0,9)
(1,10)
*/

```

## Example

To run the example project, clone the repo, and run `pod install` from the Example directory first.

## Demo

[View demo](https://appetize.io/app/y8kaw6ttmr0cha8rbd0732qm0g?device=iphone5s&scale=75&orientation=portrait&osVersion=9.3)

## Requirements

## Installation

MHPinterestLayout is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "MHPinterestLayout"
```

## Troubleshooting

Experience a pod problem about looking for pod dependency?
just try to update your pod repo by doing this.

```ruby
pod install --repo-update
```
## Author

Michael Henry Pantaleon, me@iamkel.net

## License

MHPinterestLayout is available under the MIT license. See the LICENSE file for more info.