I\'m trying to add a tuple (e.g., 2-item tuple) to an array.
var myStringArray: (String,Int)[]? = nil myStringArray += (\"One\", 1)
What I\'m g
@assignment func += (inout left: Array<(String, Int)>?, right: (String, Int)) { if !left { left = [] } if left { var array = left! array.append(right.0, right.1) left = array } } var myStringArray: (String,Int)[]? = nil myStringArray += ("x",1)