Answers for "how to import an array into swift app"

3

swift append to array

var numbers = [1, 2, 3, 4, 5]
numbers.append(100)
print(numbers)
// Prints "[1, 2, 3, 4, 5, 100]"
Posted by: Guest on November-08-2019

Code answers related to "how to import an array into swift app"

Code answers related to "Swift"

Browse Popular Code Answers by Language