Latest 1.0.2
Homepage https://github.com/changsanjiang/SJTransitionAnimator
License MIT
Platforms ios 8.0, requires ARC
Authors

Modal自定义转场动画

Use

pod 'SJTransitionAnimator'

Default Animation

SJTransitionAnimator

- (void)clickedModalBtn {
    ModalViewController *pvc = [ModalViewController new];
    self.animator.modalViewController = pvc;
//    /*!
//     *  custom your animation. If not set, the default mode will be used.
//     */
//    [self.animator presentedAnimation:^(id<UIViewControllerContextTransitioning>  _Nonnull transitionContext) {
//        // ...
//    } dismissedAnimation:^(id<UIViewControllerContextTransitioning>  _Nonnull transitionContext) {
//        // ...
//    }];
    [self presentViewController:pvc animated:YES completion:nil];
}

Latest podspec

{
    "name": "SJTransitionAnimator",
    "version": "1.0.2",
    "summary": "Modal u8f6cu573au52a8u753b.",
    "description": "Modal u8f6cu573au52a8u753bu786cu4ee3u7801u62bdu79bb, u81eau7531u5b9au5236u8f6cu573au52a8u753b. u9ed8u8ba4u63d0u4f9bu4e86u4e00u4e2au7b80u5355u7684u8f6cu573au52a8u753b.",
    "homepage": "https://github.com/changsanjiang/SJTransitionAnimator",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "SanJiang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/changsanjiang/SJTransitionAnimator.git",
        "tag": "v1.0.2"
    },
    "source_files": [
        "Classes",
        "Classes/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This