How to determine the hours, minutes and seconds of the NSDate class in Swift 3?
In Swift 2:
let date = NSDate()
let calendar = NSCalendar.currentCalendar()let components = calendar.comp
How to determine the hours, minutes and seconds of the NSDate class in Swift 3?
In Swift 2:
let date = NSDate()
let calendar = NSCalendar.currentCalendar()let components = calendar.comp