Latest 1.0.0
Homepage https://github.com/duyi56432/DYScrollTextView
License MIT
Platforms ios 8.0
Frameworks Foundation
Authors

简介

一个高度自定义的文字滚动视图。

功能亮点:

1.高度自定义cell。

2.可改变滚动方向。

dicImg
dicImg

博客

这里有更详细用法

安装

使用 cocoapods

 
pod 'DYScrollTextView'

用法

 
_dataArray = @[@"最长寿男性去世",@"各大卫视春晚阵容",@"陈汉典回应演小品",@"易烊千玺囚服",@"陈昱霖ins",@"个税不填房东信息",@"联合国维和遇袭"];
_scrollTextView = [[DYScrollTextView alloc] initWithFrame:CGRectMake(0, 100, self.view.bounds.size.width, 90)];
_scrollTextView.delegate = self;
_scrollTextView.intervalTime = 3;
_scrollTextView.scrollPosition = DYScrollPositionTop;
[self.view addSubview:_scrollTextView];
_scrollTextView.cellHeight = 30;
[_scrollTextView start];

Latest podspec

{
    "name": "DYScrollTextView",
    "version": "1.0.0",
    "summary": "u4e00u4e2au9ad8u5ea6u81eau5b9au4e49u7684u6587u5b57u6edau52a8u89c6u56fe",
    "description": "u4e00u4e2au9ad8u5ea6u81eau5b9au4e49u7684u6587u5b57u6edau52a8u89c6u56feuff0cu53efu6539u53d8u6edau52a8u65b9u5411u3002",
    "homepage": "https://github.com/duyi56432/DYScrollTextView",
    "license": "MIT",
    "authors": {
        "duyi56432": "[email protected]"
    },
    "frameworks": "Foundation",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/duyi56432/DYScrollTextView.git",
        "tag": "1.0.0"
    },
    "source_files": "DYScrollTextView/**/*.{h,m}"
}

Pin It on Pinterest

Share This