CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Feb 2015 |
Maintained by Martin Blampied.
Recreate Twitter's profile page scrolling animation for UITableView and UIScrollViews. Librarys uses Core graphics framework and is based of thinkandbuild.it's swift tutorial converted into Obj-C.
Copy the source files MBTwitterScroll folder into your project.
Import the project
#import "MBTwitterScroll.h"
To show animation on UITableVIew use the following code:
MBTwitterScroll *myTableView = [[MBTwitterScroll alloc]
initTableViewWithBackgound:[UIImage imageNamed:@"your image"]
avatarImage:[UIImage imageNamed:@"your avatar"]
titleString:@"Main title"
subtitleString:@"Sub title"
buttonTitle:@"Follow"]; // Set nil for no button
myTableView.delegate = self;
[self.view addSubview:myTableView];
To show animation on UIScrollView use the following code:
MBTwitterScroll *myScrollView = [[MBTwitterScroll alloc]
initScrollViewWithBackgound:nil
avatarImage:[UIImage imageNamed:@"avatar.png"]
titleString:@"Main title"
subtitleString:@"Sub title"
buttonTitle:@"Follow" // // Set nil for no button
contentHeight:2000];
myScrollView.delegate = self;
[self.view addSubview:myScrollView];
MBTwitterScroll is free for all use available under the MIT license. See the LICENSE file for more information.
Any problems or features contact me at @martinblampied