Latest 1.0.4
Homepage https://github.com/CodeEagle/iOSSharedViewTransition
License MIT
Platforms ios 7.0, requires ARC
Authors

iOSSharedViewTransition

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

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

iOSSharedViewTransition

USAGE

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.

Installation

iOSSharedViewTransition is available through CocoaPods. 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.

Latest podspec

{
    "name": "iOSSharedViewTransition_CodeEagle",
    "version": "1.0.4",
    "summary": "iOS 7 based transition library for View Controllers having a Common View. CodeEagle Modified version",
    "description": "An iOS 7 based transition library for View Controllers having a Common View.",
    "homepage": "https://github.com/CodeEagle/iOSSharedViewTransition",
    "screenshots": "https://raw.githubusercontent.com/asifmujteba/iOSSharedViewTransition/master/sample.gif",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Asif Mujteba": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/CodeEagle/iOSSharedViewTransition.git",
        "tag": "1.0.4"
    },
    "source_files": [
        "Classes",
        "*.{h,m}"
    ],
    "public_header_files": "Classes/*.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This