Memory 3 - Fixing Memory Leaks in Closures with Capture List (iOS, Xcode 9, Swift 4)

Memory 3 - Fixing Memory Leaks in Closures with Capture List (iOS, Xcode 9, Swift 4)

18.858 Lượt nghe
Memory 3 - Fixing Memory Leaks in Closures with Capture List (iOS, Xcode 9, Swift 4)
🌐 https://www.bigmountainstudio.com Swift Memory Mastery Series - Part 3 Don't worry if you don't know what a closure or capture list is. This video will teach you. You will learn: * What closures are * How to pass data into closures * How closures can obtain values outside of themselves * How to explicitly pass data into closures * How to change the strength of the value coming into a closure to weak or unowned * How to create a memory leak (retain cycle) with closures (very common) * How to fix closure memory leaks with capture lists * Understanding memory leaks in closures FREE SwiftUI PictureBook: 📙 SwiftUI Views: https://www.bigmountainstudio.com/free-swiftui-book COURSES 🎦 This course is hosted on Code with Chris: http://bigmtn.studio/cwc SOCIAL 🔷 Twitter: https://twitter.com/bigmtnstudio 🟣 Github: https://github.com/bigmountainstudio #markmoeykens #bigmountainstudio #iosdevelopment