https://github.com/zapkub/uimarqueelabel
Marquee Label for iOS , easy Implement in UIBuilder
https://github.com/zapkub/uimarqueelabel
Last synced: about 1 year ago
JSON representation
Marquee Label for iOS , easy Implement in UIBuilder
- Host: GitHub
- URL: https://github.com/zapkub/uimarqueelabel
- Owner: zapkub
- Created: 2013-08-13T08:12:56.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-13T09:11:31.000Z (almost 13 years ago)
- Last Synced: 2025-02-01T15:25:50.259Z (over 1 year ago)
- Language: Objective-C
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
UIMarqueeLabel
==============
Marquee Label for iOS , easy Implement in UIBuilder
Class
- UIMarqueeLabel.h
- UIMarqueelabel.m
(Need add CoreGraphics.framework )
How to use
by Builder
1.Drag UILabel to View
2.Add your text and resize Label frame to whatever you want
3.add custom class to UIMarqueeLabel
4.if text lenght is more than frame it will automaticlly move from right to left
by programmatically
1.Import UIMarqueeLabel.h
2.init Object UIMarqueeLabel with frame
3. set up your text style
Property
- (int)velocity : how fast of text animation (default 25)
- (int)delay : delay time before text start animation (sec)
- (UIColor)themeTextColor : text Color
- (UIFont)LabelFont : text font
- (float)LoopSpace : space of gap between end and start of text when text carousel
Method
- setText:Text withAnimate:animate
setUIMarquee content Text (will animate if text lenght is over the frame and animate YES)
-startAnimate
start text animation
-stopAnimate
stop text animation