프로젝트
GitHub에서 보기
asifmujteba/iOSSharedViewTransition
소개
iOS 7 based transition library for View Controllers having a Common View
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginaliOSSharedViewTransition
iOS 7 based transition library for View Controllers having a Common View
- Inspired by Shared View Activity Transitions introduced in Android L.

USAGE
Very Simple 3 Step Process:- Download and include
ASFSharedViewTransition.handASFSharedViewTransition.min your Project. - In your app delegate or somewhere else in code do
#import "ASFSharedViewTransition.h"and add tansitions like this:
[ASFSharedViewTransition addTransitionWithFromViewControllerClass:[ViewController class]
ToViewControllerClass:[DetailViewController class]
WithNavigationController:(UINavigationController *)self.window.rootViewController
WithDuration:0.3f];
Note: Transition needs to be added only one time and ASFSharedViewTransition will automatically apply transitions whenever specified UINavigationController navigates between any FromViewController and ToViewController instances.
- Confirm From & To View Controllers to
ASFSharedViewTransitionDataSourceand provide the Common View by implementing this method:
- (UIView *)sharedView
Thats it! A Sample Demo Application has been included for help.
Installation
iOSSharedViewTransition is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:pod 'iOSSharedViewTransition', '~> 1.0.2'
Coming Soon
- Adding more transitions to the library - If you would like to request a new feature, feel free to raise as an issue.Author
Asif Mujteba, [email protected]License
ASFSharedViewTransition is available under the MIT license. See the LICENSE file for more info.관련 프로젝트 살펴보기
불러오는 중…