suse
suse

Reputation: 10563

how to convert int to NSTimeInteravl in Objective-C?

Please do tel me how to convert int to NSTimeInterval?

Thank You.

Upvotes: 2

Views: 1693

Answers (1)

imaginaryboy
imaginaryboy

Reputation: 5989

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.

Upvotes: 4

Related Questions