My class declares an array
var laps: (start: NSDate!, end: NSDate!)[] = []
When a tuple is added to this array I\'d like to be able to do s
I've tried to following, and it looked correct syntactically:
typealias MyTuple = (start: NSDate!, end: NSDate?)
then in the method, I did:
var laps: Array = Array() laps.append((NSDate.date(), nil))