ios - Information about current date as Label -
I have problem with NSDate "write in current println" is easy to write current date how do I keep my current date as labels Can i This is my code:
var timer = NSTimer () override func viewDidLoad () {super.viewDidLoad () timer = NSTimer.scheduledTimerWithTimeInterval (1, target: auto, selector: selector ("Update "), UserInfo: Zero, Repeats: True) Date = NSDT () println (NSDate)}
let formatter = NSDateFormatter formatter.dateFormat =" yyyy-MM-dd "// Set the date some labels.
Comments
Post a Comment