Skip to content

ivanyang1984/CTStoreHouseDynamicLayoutViewController

 
 

Repository files navigation

a dynamic layout View Controller which inspired by StoreHouse

pod 'CTStoreHouseDynamicLayoutViewController'

all you need to do is:

CTDynamicLayoutViewController *viewController = [[CTDynamicLayoutViewController alloc] initWithImages:@[
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"],
                                                                                                            [UIImage imageNamed:@"test"]
                                                                                                            ]];
[self presentViewController:viewController animated:YES completion:nil];

demo

About

a dynamic layout View Controller which inspired by StoreHouse

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 94.7%
  • Ruby 5.3%