Function

CACurrentMediaTime()

Returns the current absolute time, in seconds.

Declaration

func CACurrentMediaTime() -> CFTimeInterval

Return Value

A CFTimeInterval derived by calling mach_absolute_time() and converting the result to seconds.

See Also

Animation Timing

class CAMediaTimingFunction

A function that defines the pacing of an animation as a timing curve.

protocol CAMediaTiming

Methods that model a hierarchical timing system, allowing objects to map time between their parent and local time.

class CADisplayLink

A timer object that allows your application to synchronize its drawing to the refresh rate of the display.