Reputation: 567
I want to use NSTimeInterval
in Swift 3 but I can't. It seems to exist only in Swift 2.
How can I use NSTimeInterval in Swift 3?
Thanks in advance for your ideas and solutions!
Upvotes: 1
Views: 3709
Reputation: 1056
As with many other type identifiers, the NS
prefix has been stripped off from NSTimeInterval
in Swift 3. So, you can just use TimeInterval
.
Upvotes: 10