Closed wangwangwar closed 7 years ago
使用unowned或weak关键词 http://stackoverflow.com/questions/24320347/shall-we-always-use-unowned-self-inside-closure-in-swift https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html
unowned
weak
Swift中避免循环引用的方法
使用
unowned
或weak
关键词 http://stackoverflow.com/questions/24320347/shall-we-always-use-unowned-self-inside-closure-in-swift https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/AutomaticReferenceCounting.html