Skip to content

Bogon/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