IP属地:安徽
var thing = "cars"
let closure = { [thing] in
print("I love \\(thing)")
}
thing = "airplanes"
closure()
// Error: print("I love \(thing)")
Swift的面试问题及答案-part1译文:Swift Interview Questions and Answers Swift面试问题及答案 原文链接 : Swift Interview Questions ...