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
- Host: GitHub
- URL: https://github.com/michaelhenry/mhpinterestlayout
- Owner: michaelhenry
- License: mit
- Created: 2017-08-03T18:31:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T12:17:51.000Z (over 7 years ago)
- Last Synced: 2025-04-13T07:10:03.763Z (9 months ago)
- Language: Swift
- Homepage:
- Size: 1.78 MB
- Stars: 24
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MHPinterestLayout
[](https://travis-ci.org/michaelhenry/MHPinterestLayout)
[](http://cocoapods.org/pods/MHPinterestLayout)
[](http://cocoapods.org/pods/MHPinterestLayout)
[](http://cocoapods.org/pods/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.