CustomTransitions/Slide/AAPLSlideTransitionAnimator.h
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
A transition animator that transitions between two view controllers in |
a tab bar controller by sliding both view controllers in a given |
direction. |
*/ |
@import UIKit; |
@interface AAPLSlideTransitionAnimator : NSObject <UIViewControllerAnimatedTransitioning> |
- (instancetype)initWithTargetEdge:(UIRectEdge)targetEdge; |
//! The value for this property determines which direction the view controllers |
//! slide during the transition. This must be one of UIRectEdgeLeft or |
//! UIRectEdgeRight. |
@property (nonatomic, readwrite) UIRectEdge targetEdge; |
@end |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-01-28