SkillAgentSearch skills...

IOSSharedViewTransition

iOS 7 based transition library for View Controllers having a Common View

Install / Use

/learn @asifmujteba/IOSSharedViewTransition
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

iOSSharedViewTransition

iOS 7 based transition library for View Controllers having a Common View

  • Inspired by Shared View Activity Transitions introduced in Android L.

iOSSharedViewTransition

<h2>USAGE</h2> Very Simple 3 Step Process:
  • Download and include ASFSharedViewTransition.h and ASFSharedViewTransition.m in 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 ASFSharedViewTransitionDataSource and provide the Common View by implementing this method:
- (UIView *)sharedView

Thats it! A Sample Demo Application has been included for help.

<h2>Installation</h2> iOSSharedViewTransition is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile:

pod 'iOSSharedViewTransition', '~> 1.0.2'

<h2>Coming Soon</h2> - Adding more transitions to the library - If you would like to request a new feature, feel free to raise as an issue. <h2>Author</h2> Asif Mujteba, asifmujteba@gmail.com <h2>License</h2> ASFSharedViewTransition is available under the MIT license. See the LICENSE file for more info.
View on GitHub
GitHub Stars261
CategoryDevelopment
Updated3mo ago
Forks37

Languages

Objective-C

Security Score

92/100

Audited on Dec 26, 2025

No findings