文章来源:淘论文网   发布者: 毕业设计   浏览量: 22



还可以点击去查询以下关键词:
[DNOLabe]    [毕业]    [lAnimation]    [DNOLabe毕业lAnimation]   

项目介绍:

DNOLabelAnimation

波浪式文字动画

Type 两种格式 Normal 和 Wave

typedef enum { DNOLabelAnimationTypeNormal = 0, DNOLabelAnimationTypeWave = 1 }DNOLabelAnimationType;

创建方式 两种 frame可以设定位置和大小

依据NSString来创建

- (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text;

依据NSAttributedString来创建

- (instancetype)initWithFrame:(CGRect)frame attributedText:(NSAttributedString *)attributedText;

sizeToFit 可以自适应大小

- (void)sizeToFit;

操作动画

开始动画

- (void)startAnimation;

暂停动画

- (void)pauseAnimation;

结束动画

- (void)stopAnimation;

细节处理

animationHeight 待处理

rate 动画速度

kerning 字间距

@property (nonatomic, assign) CGFloat animationHeight; @property (nonatomic, assign) NSUInteger rate; // 1 is fastest 10 is slowest, default is 2 @property (nonatomic, assign) CGFloat kerning;安装

In your Podfile

pod 'DNOLabelAnimation'

论文开题报告


这里还有:


还可以点击去查询:
[DNOLabe]    [毕业]    [lAnimation]    [DNOLabe毕业lAnimation]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8122.docx
  • 上一篇:YXYNumberA毕业设计nimationLabel
  • 下一篇:iOS颜色拾定制取器