GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stady/LabelNumAnamation: LabelNumAnamation

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
LabelAnaimal
LabelAnaimal
 
 
README.md
README.md
 
 

Repository files navigation

LabelNumAnamation

LabelNumAnamation

1. 说明

这是一个文字增长动画的工具类,支持AttributedText和Text。

2. 用法

  • 实例化
 PDLableAnimaUtil *util = [[PDLableAnimaUtil alloc]initWithLabel:label dataSource:self];
    util.textType = PDLablAttribuitedText;
   
    
  • 代理方法

//文字为 普通文本
-(NSString *)currentText:(PDLableAnimaUtil *)animalUtil index:(NSInteger)index;
//文字为Attributed Text -(NSAttributedString *)currentAttributedText:(PDLableAnimaUtil *)animalUtil index:(NSInteger)index
  • 执行动画
[util startAnimation];
  • 如果需要停止动画
[util stopAnimation];

3.具体实现请看Demo

About

LabelNumAnamation

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.