+ 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 Antworten
+ 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.