Latest 0.0.3
Homepage https://github.com/Wcaulpl/XYAutoScrollLabel
License MIT
Platforms ios 8.0
Authors

一、集成方法

  1. Cocoapods方式集成: pod 'XYAutoScrollLabel'
    使用时导入头文件 #import <XYAutoScrollLabel/XYAutoScrollLabel.h>

  2. 手动下载集成: 将XYAutoScrollLabel文件夹,导入你的工程
    使用时导入头文件:#import "XYAutoScrollLabel.h"

二、使用方法

XYAutoScrollLabel *titleNav = [[XYAutoScrollLabel alloc] init];
self.titleNav = titleNav;
titleNav.text = @"导航自然title";
titleNav.textColor = [UIColor blackColor];
self.navigationItem.titleView = titleNav;

XYAutoScrollLabel *titleLabel = [[XYAutoScrollLabel alloc] initWithFrame:CGRectMake(30, 100, 300, 40)];
self.titleLabel = titleLabel;
titleLabel.textColor = [UIColor blackColor];
titleLabel.text = @"label自然title";
[self.view addSubview:self.titleLabel];

请参考demo

Latest podspec

{
    "name": "XYAutoScrollLabel",
    "version": "0.0.3",
    "summary": "u4e00u4e2au6587u672cu8d85u51fau6587u672cu6846u65f6u81eau52a8u6edau52a8u663eu793a u7684u5f00u6e90u63a7u4ef6",
    "homepage": "https://github.com/Wcaulpl/XYAutoScrollLabel",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Wcaulpl": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Wcaulpl/XYAutoScrollLabel.git",
        "tag": "0.0.3"
    },
    "source_files": [
        "XYAutoScrollLabel",
        "XYAutoScrollLabel/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This