
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.
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];
good
Wow! It's really great! Thanks!
Overall performance is good but only one thing not acceptable when we upload more then 100 cell than application is crashed.
Questions & Comments