-
Notifications
You must be signed in to change notification settings - Fork 1
Scrolling UILabel Across Screen
nagarro-dv/Scrolling-UILabel-Across-Screen
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to use it in your app .h file #import "MokriyaUILabelScrollingView.h" @interface YourViewController : UIViewController <UILabelScrollView> .. .. .. .m file MokriyaUILabelScrollingView *scrollingView = [[MokriyaUILabelScrollingView alloc] initWithFrame:CGRectMake(0, 0, 320, 60)]; scrollingView.backgroundColor = [UIColor grayColor]; scrollingView.titleLabel.font = [UIFont fontWithName:@"Helvetica-Bold" size:15]; scrollingView.titlesArray = [[NSMutableArray alloc] initWithObjects: @"Hipster iOS App", @"HomeRun iOS & Android App.", @"SimpleGeo", @"Path", @"ThinkAha", @"HeyWire", @"BottomLine", @"MySizeFinder", nil]; [scrollingView prepareAndStart]; scrollingView.delegate = self; [self.view addSubview:scrollingView]; [scrollingView release]; ÉÉ #pragma Delegate Methods - (void)didTappedAtIndex:(int)index { NSLog(@"Tapped at index %d",index); }
About
Scrolling UILabel Across Screen
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published