Question

Please do tel me how to convert int to NSTimeInterval?

Thank You.

Was it helpful?

Solution

NSTimeInterval is just a typedef for double. Feel free to assign the int to the NSTimeIntervalValue the same way you can assign an int to a double.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top