Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
Free

Application License

Unlimited applications Binary restricted distribution
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(12 ratings)

Pinterest GridView for iOS (MasonryView)

Pinterest GridView for iOS (MasonryView)
Developed by Sarp Erdag, Released Apr 4, 2012

Love Pinterest's user interface? Want to create the same columned look in your apps? MasonryView is a super easy to use layout component to achieve dynamic grids.

Objective-C

Tags: columns , grid , gridview , ipad

alt text

Easily Create Dynamic Grids that look like Pinterest's Interface!

MasonryView is a super easy to use layout component to create dynamic grids of cells with varying dimensions. Just watch the video below to see it in action.

http://vimeo.com/39700918

What's new in v1.76?

  • Added iOS6 support.
  • Fixed namespace collisions.

Features

  • Easily create dynamic grids of cells with varying heights and number of columns.
  • Supports both landscape and portrait modes and automatically aligns cells when orientation changes.
  • Built-in paging functionality similar to TweetBot's (drag to reload)
  • Supports both horizontal and vertical scrolling modes.
  • Ability to fully customize cell designs.
  • Ability to change the number of columns displayed.
  • Ability to add a header view just like you do with a UITableView
  • High performance with even thousands of cells.
  • Ability to add a header view on top of the grid view. Similar to how you do with UITableViews.
  • Can be used both for iPhone and iPad projects.
  • Supports ARC and non-ARC
  • Includes demo app XCode Project!

Requirements

  • No external libraries are required to use core SEMasonryView.
  • For custom cells the library AFNetworking (MIT Licensed) is used.
  • Demo app uses JSONKit library. (MIT Licensed)

Integration Guide

1. Drag folder named SEMasonryView.framework into your XCode project's Frameworks folder

2. Add -all_load and -ObjC to Other Linker Flags under your project's Build Settings.

3. Add this line in your imports section

#import 

4. Create a SEMasonryView and add it to your app

SEMasonryView *masonryView = [[SEMasonryView alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height)];
masonryView.delegate = self;
masonryView.columnWidth = 256;
masonryView.pagingEnabled = YES;
[self.view addSubview:masonryView];

5. Add cells whenever you want!

SEMasonryCell *cell = [[[NSBundle mainBundle] loadNibNamed:@"MyCellNib" owner:self options:nil] objectAtIndex: 0];
[masonryView addCell:cell];

6. Layout items if you need to (required if orientation changes)

[masonryView layoutItems];

Package Contents

  • SEMasonryView framework and related resources.
  • Sample project demonstrating "drag to reload" style paging and orientation changes.
  • External libraries required for demo app.
View all 11 reviews »

User Reviews

  • Pradyumn Nukala 4 weeks ago
    good
    Flag
    Was this helpful? Yes No
  • Sungcheol Kim 2 months ago
    Wow! It's really great! Thanks!
    Flag
    Was this helpful? Yes No
  • deepakjadon 5 months ago
    Overall performance is good but only one thing not acceptable when we upload more then 100 cell than application is crashed.
    Flag
    Was this helpful? Yes No
Read all 38 comments »

Questions & Comments


Or enter your name and Email
  • Mohammed Barham 2 months ago
    How can I change cell height and remains image height without change, I need to add more data below the img.
  • pragmaticlogic 4 months ago
    Can the component do both vertical and horizontal scrolling at the same time?
  • Sarp Erdag Developer 6 months ago
    Hello everyone, I decided to work on a better overall implementation of a Pinterest Gridview component that uses the new UICollectionView classes that came with the new iOS6 SDK. Anyway, the component is free now and you can grab and freely edit it however you want.
    • vincent phuah License holderSingle App License (Binary Only) 6 months ago
      OK. Hopefully it will recycle better. Let me know and i will buy it.
      Any estimate when?
    • Sarp Erdag Developer 6 months ago
      Hey Vincent, the component is free of charge now. You can get the full code.
    • vincent phuah License holderSingle App License (Binary Only) 6 months ago
      Thank you. I still want the UICollectionView version though.
    • Cristi License holderSingle App License 4 months ago
      helo Sarp, when we will see v2? Can you give us a timeframe? I'm looking forward to it..
    • Cristi License holderSingle App License 3 months ago
      Any news Sarp?
    • Don Holly 3 weeks ago
      Has a new version been released? This component doesn't really work well with lots of images (memory issues) since it doesn't recycle cells like UITableView or UICollectionView.
You must be logged-in to vote. Log-in to your account or register now.