Latest 0.0.1
Homepage https://github.com/imhui/LWSlideShow
License MIT
Platforms ios 7.0, requires ARC
Dependencies AFNetworking
Authors

screenshot1

usage


    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;

Latest podspec

{
    "name": "LWSlideShow",
    "version": "0.0.1",
    "summary": "LWSlideShow.",
    "homepage": "https://github.com/imhui/LWSlideShow",
    "license": "MIT",
    "authors": {
        "imhui": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/imhui/LWSlideShow.git",
        "tag": "0.0.1"
    },
    "source_files": "LWSlideShow/LWSlideShow/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "AFNetworking": [
            ">= 2.0"
        ]
    }
}

Pin It on Pinterest

Share This