var names:[String] = ["Apple","Microsoft","Sony","Lenovo","Asus"]
这是@Abhinav的答案译成Swift 2.2:
var names:[String] = ["Apple","Asus"]
var reversedNames = [String]()
for arrayIndex in (names.count - 1).stride(through: 0,by: -1) {
reversedNames.append(names[arrayIndex])
}