I think a value of 1.0 represents one second, but I'm not very sure with that. Is that a hexadecimal system? What would you provide to give exactly one minute for duration?
All time intervals in Cocoa APIs (CoreFoundation / Foundation / UIKit / AppKit / etc.) are in units of seconds.
Jens Alfke
2009-07-19 00:53:36
+2
A:
This is in the included documentation you can find on Apple's site or contextually within Xcode
From the documentation setAnimationDuration:
Sets the animation duration used by all animations within this transaction group.
- (void)setAnimationDuration:(CFTimeInterval)duration
Parameters duration An interval of time used as the duration.
and CFTimeInterval
CFTimeInterval Type used to represent elapsed time in seconds.
Louis Gerbarg
2009-07-19 00:34:34
I was confused by that CFTimeInterval. So this thing is just nothing more than a double value?
Thanks
2009-07-19 09:00:04