How can I convert a NSTimeInterval to NSDate? Think of it like a stopwatch. I want the initial date to be 00:00:00, and I have a NSTimeInterv
NSTimeInterval
NSDate
NSTimeInterv
NSTimeInterval to NSDate conversion in Swift:
let timeInterval = NSDate.timeIntervalSinceReferenceDate() // this is the time interval NSDate(timeIntervalSinceReferenceDate: timeInterval)