Swift modifie les éléments d'un tableau
var dailyActivities = ["Eat","Repeat"]
print("Initial Array: \(dailyActivities)")
// change element at index 1
dailyActivities[1] = "Sleep"
print("Updated Array: \(dailyActivities)")
SAMER SAEID