CLHaloLabel - iOS 标签


MIT
iOS
Objective-C

软件简介

CLHaloLabel 是拥有光晕扫过效果的 Label。

image

使用方法:

#import "CLHaloLabel.h"
self.haloLabel.haloDuration = 5;
self.haloLabel.haloWidth = 0.8;
CLHaloLabel *lable = [[CLHaloLabel alloc] initWithFrame:CGRectMake(20, 200, 100, 30)];
lable.text = @"从代码创建";
lable.textColor = [UIColor greenColor];
lable.haloColor = [UIColor redColor];
[self.view addSubview:lable];