Skip to content

ipup/AutoScrollLabel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

##AutoScrollLabel

Provides auto scrolling for text that may be clipped by the view. iOS 4.3 and greater, works with ARC and non-ARC projects.

screenshot image

Real world use:

app

Sola Tunes App (Free)

Usage:

autoScrollLabel.text = @"This text may be clipped, but now it will be scrolled.";
autoScrollLabel.textColor = [UIColor blueColor];
autoScrollLabel.labelSpacing = 35; // distance between start and end labels
autoScrollLabel.pauseInterval = 3.7; // seconds of pause before scrolling starts again
autoScrollLabel.scrollSpeed = 30; // pixels per second
autoScrollLabel.textAlignment = UITextAlignmentCenter; // centers text when no auto-scrolling is applied
autoScrollLabel.fadeLength = 12.f; // length of the left and right edge fade, 0 to disable

http://blog.stormyprods.com/2009/10/more-details-on-autoscrolllabel-usage.html - Old, but still relevant example usage.

About

Provides marquee like UILabel scrolling, think iPod track title scrolling.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%