how to convert int to NSTimeInteravl in Objective-C?
-
01-10-2019 - |
Question
Please do tel me how to convert int to NSTimeInterval?
Thank You.
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