Постоянно получаю ошибку. Значение типа [String]
не имеет члена removeAtIndex
Помогите, пожалуйста? Спасибо
var strings2 = ["a", "b", "c", "d"]
if strings2.isEmpty {
print("empty")
}
else {
print("populated") // populated
}
strings2.insert("a", at: 0) // Insert, not replace
print(strings2.removeAtIndex(0)) // a