Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions AMWaveTransition/AMWaveTransition.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ typedef NS_ENUM(NSInteger, AMWaveTransitionType) {
AMWaveTransitionTypeBounce
};

typedef NS_ENUM(NSInteger, AMWaveInteractiveTransitionType) {
AMWaveTransitionEdgePan,
AMWaveTransitionFullScreenPan,
};

@interface AMWaveTransition : NSObject <UIViewControllerAnimatedTransitioning>

/**-----------------------------------------------------------------------------
Expand Down Expand Up @@ -107,4 +112,25 @@ typedef NS_ENUM(NSInteger, AMWaveTransitionType) {
*/
@property (assign, nonatomic) CGFloat maxDelay;

/** Inset between view controllers
*
* Sets the inset between view controllers.
*
*/
@property (assign, nonatomic) CGFloat viewControllersInset;

/** Alpha animation with interactive transition
*
* Turn on/off alpha animation with interactive transition.
*
*/
@property (assign, nonatomic) BOOL animateAlphaWithInteractiveTransition;

/** Interactive transition type
*
* Sets interactive transition type (edge or fullscreen).
*
*/
@property (assign, nonatomic) AMWaveInteractiveTransitionType interactiveTransitionType;

@end
Loading