+ 1
Arrays
var a = âiPhone SEâ var b = âiPhone 11â var c = âiPhone 11 proâ let myArray = [âiPhone SEâ, âiPhone 11â, âiPhone 11 proâ] vat myArray: [String] = [âiPhone SEâ, âiPhone 11â, âiPhone 11 proâ] Print(myArray[0]) // âiPhone SEâ
3 Answers
+ 10
Codes seems to perfect
+ 5
Hello! Is there a problem with this code?
0
I was wondering how many different type of arrays there is in swift.