I\'m wondering if I can somehow use an x, y pair as the key to my dictionary
let activeSquares = Dictionary <(x: Int, y: Int), SKShapeNode>() >
let activeSquares = Dictionary <(x: Int, y: Int), SKShapeNode>()
If you don't mind a bit of inefficiency, you can easily convert your tuple to a string and then use that for the dictionary key...
var dict = Dictionary() let tup = (3,4) let key:String = "\(tup)" dict[key] = ...