Skip to content

michaelhenry/MHPinterestLayout

Repository files navigation

MHPinterestLayout

CI Status Version License Platform

MHPinterestLayout screenshot

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

Requirements

Installation

MHPinterestLayout is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "MHPinterestLayout"

Troubleshooting

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

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.

About

customized dynamic cell - Pinterest layout with custom header

Resources

License

Stars

Watchers

Forks

Packages

No packages published