Added convenience constructor that takes DispatchTimeInterval for duration…

Authored by Eric Tang <randcode-generator@users.noreply.github.com> on Tue, Apr 18, 5:50 PM.

Description

Added convenience constructor that takes DispatchTimeInterval for duration (#107)

Summary:
We currently use CGFloat for duration but we wanted to include DispatchTimeInterval because of it’s cleaner time APIs.

Tags: Material Motion

Usage:
delay(by: .milliseconds(500))
delay(by: .seconds(1))

Details

Committed
featherlessTue, Apr 18, 5:50 PM
Parents
rREACTIVEMOTIONSWIFTc0c67c3ffbcc: Make ViewControllerDismisser a pure Swift class.
Branches
Unknown
Tags
Unknown