Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

swift 轻量跑马灯labe,使用简单方便。只有一个类

Notifications You must be signed in to change notification settings

Gordon2780/KScrollLabel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

KScrollLabel

跑马灯labe。轻量级可滚动label,使用简单方便,支持pod,CADisplayLink实现。 支持 水平 垂直滚动。支持xib storyboard autolayout

例子:

let label1 = KScrollLabel(frame: CGRect(x: 20, y: 200, width: UIScreen.main.bounds.width-40, height: 40))
 label1.textColor = .white </br>
 label1.backgroundColor = .purple</br>
 label1.duration = 0.5</br>
 label1.text = "无代码污染,无入侵项目,轻量级可滚动label,使用简单方便,支持pod,CADisplayLink实现。无代码污染,无入侵项目,轻量级可滚动label,使用简单方便,支持pod,CADisplayLink实现。无代码污染,无入侵项目,轻量级可滚动label,使用简单方便,支持pod,CADisplayLink实现。"</br>
 view.addSubview(label1)

About

swift 轻量跑马灯labe,使用简单方便。只有一个类

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /