An article by caydenliew No Comments
CLTickerView is an IOS library for building a ticker or marquee in HTML. It is built with UIScrollView, UILabel and NSTimer.
- Animated text from right to left, like HTML Marquee
- Tap on text to stop, drag to scroll, and release to resume the animation
This is how you can use the library:
CLTickerView *ticker = [[CLTickerView alloc] initWithFrame:CGRectMake(0, 20, 320, 30)]; //set the text ticker.marqueeStr = @"This is a sample ios marquee using scrollview and timer. You can also manually control it by scrolling left or right, or touch on it to stop it, and release it to auto restart the marquee."; //set the font ticker.marqueeFont = [UIFont boldSystemFontOfSize:16]; [self.view addSubview:ticker]; [ticker release];
The library with demo is available on my Github