Function

CACurrentMediaTime

Returns the current absolute time, in seconds.

Declaration

CFTimeInterval CACurrentMediaTime(void);

Return Value

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

See Also

Animation Timing

CAMediaTimingFunction

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

CAMediaTiming

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

CADisplayLink

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