【发布时间】:2015-01-17 03:19:15
【问题描述】:
UIView.animateWithDuration(1,
animations: { [unowned self] in
self.box.center = self.boxTopRightPosition
},
completion: { [unowned self] completed in
self.box.hidden = true
})
是否需要避免内存泄漏?
【问题讨论】:
-
这里的答案具有误导性。见here
标签: ios swift memory-management uiviewanimation retain-cycle