NSMutableArray *array = [@[] mutableCopy];
LWSlideItem *item = [LWSlideItem itemWithCaption:@"1" imageUrl:@"http://img2.3lian.com/2014/f4/102/d/86.jpg"];
[array addObject:item];
item = [LWSlideItem itemWithCaption:@"2" imageUrl:@"http://image5.tuku.cn/wallpaper/Photography%20Wallpapers/11286_2560x1600.jpg"];
[array addObject:item];
item = [LWSlideItem itemWithCaption:@"3" imageUrl:@"http://img2.3lian.com/2014/f2/150/d/44.jpg"];
[array addObject:item];
item = [LWSlideItem itemWithCaption:@"4" imageUrl:@"http://img2.3lian.com/2014/f2/150/d/45.jpg"];
[array addObject:item];
item = [LWSlideItem itemWithCaption:@"5" imageUrl:@"http://img2.3lian.com/2014/f2/150/d/46.jpg"];
[array addObject:item];
LWSlideShow *slideShow = [[LWSlideShow alloc] initWithFrame:CGRectMake(0, 20, CGRectGetWidth(self.view.bounds), 160)];
slideShow.autoresizingMask = UIViewAutoresizingFlexibleWidth;
slideShow.delegate = self;
slideShow.slideItems = array;
-
Notifications
You must be signed in to change notification settings - Fork 0
License
imhui/LWSlideShow
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published