- Prototope Documentation
- Animator
- Border
- CameraLayer
- CameraPosition
- Color
- Gesture
- Heartbeat
- Image
- Layer
- LayerAnimatorStore
- Math
- PanGesture
- Particle
- ParticleEmitter
- ParticlePreset
- Point
- Rect
- Shadow
- Size
- Sound
- TapGesture
- Timestamp
- TouchSample
- TouchSequence
- Tunable
- View as:
- Swift
- JavaScript
Timestamp
Although not really meriting its own file, Timing.swift
also defines the following typealias
public typealias TimeInterval = NSTimeInterval
beyond that, Timestamp is really the thing to look at
Method reference
-
Convenience methods
n.b.
afterDuration
is not a method of Timestamp, you can run it anywhere, but it shows up here anyway. -
⚓
public func <(a: Timestamp, b: Timestamp) -> Bool
-
⚓
public func ==(a: Timestamp, b: Timestamp) -> Bool
-
⚓
public func -(a: Timestamp, b: Timestamp) -> TimeInterval
-
⚓
public func afterDuration(duration: TimeInterval, action: () -> Void)
Performs an action after a duration.
-
Variables
-
⚓
public static var currentTimestamp: Timestamp
-
⚓
public var hashValue: Int