Latest 0.0.6
Homepage https://github.com/smithgoo/KPengBannerView
License MIT
Platforms ios 4.3, requires ARC
Frameworks Foundation, CoreGraphics, UIKit
Authors

一个自动向上滚动的广告轮播工具

初始化方法 array 是id 类型的 可以传model  time 是控制翻转之后的停留时间 location 是控制文字显示位置为后面有图片预留的接口

VierticalScrollView *banner =[VierticalScrollView initWithTitleArray:@[@"星期一",@"星期二",@"星期三",@"星期四",@"星期五",@"星期六",@"星期天"] andFrame:CGRectMake(100,100,200,40) titleLocation:@"center" withTitleColor:[UIColor redColor] time:1];

[self.view addSubview:banner];

banner.frontColor =[UIColor redColor];

banner.blackColor =[UIColor whiteColor];

banner.layer.borderColor =[UIColor blackColor].CGColor;

banner.layer.borderWidth =0.3;

banner.delegate =self;

 ![](git.gif)

Latest podspec

{
    "name": "KPengBannerView",
    "version": "0.0.6",
    "summary": "u4e00u4e2au5e7fu544au4e0au4e0bu7ffbu52a8u7684banneru63a7u4ef6",
    "description": "It is a marquee view used on iOS, which implement by Objective-C.",
    "homepage": "https://github.com/smithgoo/KPengBannerView",
    "license": "MIT",
    "authors": {
        "KPeng": "[email protected]"
    },
    "source": {
        "git": "https://github.com/smithgoo/KPengBannerView.git",
        "tag": "0.0.6"
    },
    "platforms": {
        "ios": "4.3"
    },
    "requires_arc": true,
    "source_files": "BannerView/*",
    "frameworks": [
        "Foundation",
        "CoreGraphics",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This