Latest 0.1.2
Homepage https://github.com/chbo297/CCZoomTransition
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

Version
License
Platform

‘CCZoomTransition’ is zoom transition for IOS ViewController.  
Only requires one line of code  

ViewController present的转场特效,只需要一行代码,就可以的到一个类似于系统打开APP的present特效啦。  

pictap  

panGesture swipBack:
picpan

Getting Started

In Swift


let viewController = UIViewController()
viewController.cc_setZoomTransition(originalView: targetView)
self.present(viewController, animated: true, completion: nil)

In Objective-C


#import "ProductModuleName-Swift.h"

UIViewController *viewController = [UIViewController new];
[viewController cc_setZoomTransitionWithOriginalView:targetView];
[self presentViewController:viewController animated:YES completion:nil];
The "targetView" is view which tap in presentingView, or whose you wish being zoom.

Latest podspec

{
    "name": "CCZoomTransition",
    "version": "0.1.2",
    "summary": "Zoom transition effect present viewController",
    "description": "zoom transition effect present viewController,likes apple open App effect",
    "homepage": "https://github.com/chbo297/CCZoomTransition",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ChengBo": "[email protected]"
    },
    "social_media_url": "https://twitter.com/booooo07",
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.1",
    "source": {
        "git": "https://github.com/chbo297/CCZoomTransition.git",
        "tag": "0.1.2"
    },
    "source_files": [
        "CCZoomTransition",
        "CCZoomTransition/*.{swift}"
    ],
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This