Swift Apprentice I -- Basic Topics
Swift notes
The notes of Swift Apprentice
Collection
Array
updating elements
var players = ["A", "B", "C", "D"]
players[0...1] = ["1", "2", "3", "4"]
print(players)
// > ["1", "2", "3", "4", "C", "D...
Posted by MrFu on November 30, 2017