Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Add system timing constant for movement during modal presentation. (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jverkoey committed Aug 30, 2017
1 parent 293f6d8 commit bf757fe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/MDMMotionCurve.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,10 @@ typedef NS_ENUM(NSUInteger, MDMSpringMotionCurveDataIndex) {
tension, \
friction } \
}

/**
Timing information for an iOS modal presentation slide animation.
*/
#define MDMModalMovementTiming { \
.delay = 0.000, .duration = 0.500, .curve = _MDMSpring(3, 1000, 500) \
}

0 comments on commit bf757fe

Please sign in to comment.