Import QuartzCore for access to CACurrentMediaTime.