AutoScrollLabel 0.4.3

许可证 MIT
2015年11月

C. Bess 维护。




  • 作者
  • Christopher Bess

CocoaPod: AutoScrollLabel

iOS 7、tvOS 9及以上。对于非ARC使用v0.2.1。

#import <AutoScrollLabel/CBAutoScrollLabel.h>
import AutoScrollLabel

screenshot image

app

Sola Tunes App(免费)

使用

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 = NSTextAlignmentCenter; // centers text when no auto-scrolling is applied
autoScrollLabel.fadeLength = 12.f; // length of the left and right edge fade, 0 to disable

MIT - 版权所有 (c) 2013 Christopher Bess