[swift4] 配列をforで回す方法
配列をforで回す方法は以下の通り
let list = ["Google","Amazon","Facebook","Apple"]
for index in likeList {
print(index)
}
結果
Google Amazon Facebook Apple
配列をforで回す方法は以下の通り
let list = ["Google","Amazon","Facebook","Apple"]
for index in likeList {
print(index)
}
結果
Google Amazon Facebook Apple