Skip to content

lyluoyuan/CDTitleSlideWrapView

Repository files navigation

CDTitleSlideWrapView

CI Status Version License Platform

Example

CDTitleSlideWrapView *slideWrapView = [CDTitleSlideWrapView new];
slideWrapView.frame = self.view.bounds;
[self.view addSubview:slideWrapView];

NSArray *rawTitles = @[@"title1",@"title2",@"title3"];
slideWrapView.items = rawTitles;

UIViewController *vc1 = [UIViewController new];
vc1.view.backgroundColor = [UIColor whiteColor];
UIViewController *vc2 = [UIViewController new];
vc2.view.backgroundColor = [UIColor yellowColor];
UIViewController *vc3 = [UIViewController new];
vc3.view.backgroundColor = [UIColor blueColor];
slideWrapView.viewControllers = @[vc1,vc2,vc3];

Requirements

Installation

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

pod 'CDTitleSlideWrapView'

Author

lyluoyuan@126.com, lyluoyuan@126.com

License

CDTitleSlideWrapView is available under the MIT license. See the LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors