[Swift]名前付タプル配列
名前付タプル配列
var draws:[(x:CGFloat, y:CGFloat, width:CGFloat, height:CGFloat)] = [] self.draws.append( (x:0.0, y:0.0, width:100.0, height:0.0) )
名前付タプル配列
var draws:[(x:CGFloat, y:CGFloat, width:CGFloat, height:CGFloat)] = [] self.draws.append( (x:0.0, y:0.0, width:100.0, height:0.0) )