I have this playground example:
import UIKit
var testArray: [[String]] = [["2","2"],["1","1"]]
testArray[0][0] = "3" // Working
func getTestArray() -> [String] {
return testArray[0]
}
var test = getTestArray()[0] = "4" // Error: Immutable Value
How can i get the reference of testArray to change it
Changing test won't change testArray!