Latest 0.2.0
Homepage https://github.com/HuaianWu/HATwinklingTagView
License MIT
Platforms ios 6.0, requires ARC
Frameworks UIKit
Authors

CocoaPods Support 

A flashing(twinkling)tag for iOS. 一个 iOS 的会闪烁的标签。

Result

Result

Use

Add pod 'HATwinklingTagView' to your pod file.(Or drag these four files which in the HATwinklingTagView folder to your project.)

Then type the following code.

NSArray *array = @[@"哇好美!",@"美翻了!",@"美美美!!!!"];

//init
HATwinklingTagView *tagView = [[HATwinklingTagView alloc]initWithWithArray:array andPoint:CGPointMake(30, 100)];

//tag text color(default is white color)
tagView.color = [UIColor whiteColor];

//add it to your view
[self.view addSubview:tagView];

Latest podspec

{
    "name": "HATwinklingTagView",
    "summary": "A twinkling tag for iOS.",
    "version": "0.2.0",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "HuaianWu": "[email protected]"
    },
    "social_media_url": "https://huaian.io",
    "homepage": "https://github.com/HuaianWu/HATwinklingTagView",
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/HuaianWu/HATwinklingTagView.git",
        "tag": "0.2.0"
    },
    "requires_arc": true,
    "source_files": "HATwinklingTagView/*.{h,m}",
    "public_header_files": "HATwinklingTagView/*.{h}",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This