martinblampied/MBTwitterScroll
소개
Recreate Twitter's profile page scrolling animation for UITableView and UIScrollViews.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMBTwitterScroll
========== 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.

Installation
From CocoaPods
MBTwitterScroll is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "MBTwitterScroll"
Manually
Copy the source files MBTwitterScroll folder into your project.
Usage
Import the project
#import "MBTwitterScroll.h"
UITableView
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];
UIScrollView
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];
License
MBTwitterScroll is free for all use available under the MIT license. See the LICENSE file for more information.
Feedback or feature request?
Any problems or features contact me at @martinblampied
관련 프로젝트 살펴보기
불러오는 중…