Weak and Unowned Self Closure Memory Leak Fixes

Published 2019-01-01
It's hard to sometimes demonstrate memory leaks if you're not fully aware of what to look for. In this lesson we'll go over leaks when you introduce the self variable inside of closures. Finally we'll also talk about the fixes.

Tinder Firestore Swipe and Match
www.letsbuildthatapp.com/course/Tinder-Firestore-S…

Twitter Slide Out Menu Course
www.letsbuildthatapp.com/course/Twitter-Slide-Out-…

Podcasts Course
www.letsbuildthatapp.com/course/Podcasts

Intermediate Training Core Data
www.letsbuildthatapp.com/course/intermediate-train…

Instagram Firebase Course
www.letsbuildthatapp.com/course/instagram-firebase

Facebook Group
www.facebook.com/groups/1240636442694543/

Instagram: www.instagram.com/buildthatapp/
Twitter: twitter.com/buildthatapp

Hackintosh Build
i9 9900k: amzn.to/2CvQj6v
ASUS Z390 Motherboard: amzn.to/2JpaQ2B
16GB Corsair Vengeance RGB RAM: amzn.to/2YbygvJ
Corsair H100i Platinum Water Cooler: amzn.to/2FnbM22
Thermaltake RGB Power Supply: amzn.to/2TgKDTu
Intel 1TB SSD: amzn.to/2Tkdk1V
Corsair 280x Computer Case: amzn.to/2WcjvH2
AMD Radeon 4GB RAM GFX Card: amzn.to/2TYMyAp
LG 34" Widescreen 3440 x 1440: amzn.to/2Tk7q0S
Rode NT1 Microphone: amzn.to/2TZgX1r
Focusrite Audio Interface: amzn.to/2U12gey
Panasonic GH4 DSLR: amzn.to/2U4BrG6
Magewell HDMI to USB3 Capture Card: amzn.to/2Jp2esI

All Comments (21)
  • @cinquain0
    Great work Brian. Just bought my first course from you. Thanks again for everything, you've really elevated my iOS skills.
  • @abdouett3676
    A very elegant way to explain a complicated and overlooked concept by many developers in iOS programming. Thanks Brian!
  • @user-ec1dn3uz5k
    Thanks a lot Brian! Enjoying these short snippets that can help make our codebase much cleaner and optimized
  • this was really so helpful because its been 1 year I'm working in a company last week I went to another company for the job interview n was asked these three concepts but I didn't knew anyone of them even after having 1 year experience of swift development.... Sometimes we need to keep these small things in mind too. Great stuff you are really going great....
  • @adamm3122
    Have been searching for these exact examples all day. Thank you!!! Perfect!!
  • @trunghvbk
    Thank you a lot, it's helpful for me. HAPPY NEW YEAR, Brian!
  • @Omeir34
    Great video as usual Brian! Pleasure to see you always. Looking forward for the 4th episode of the stretchy header series.
  • @onurisk5617
    I was facing memory leak for this (Service class) reason and this great video helped me a lot, so thank you so much.
  • @bitj4ke
    Happy new year sir! Greetings from Ph. Thanks for all the tutorials, i learned a lot.
  • @VasaMusic438
    you really teach and explain very good !! Thank you!!
  • @Dennisvm82
    Thanks for the explanation. I finally understand what they do and when to use them :-)
  • @sunilaruru9257
    Thanks a lot brain for showing very much needed scenarios..
  • @elenekotu
    Really nice tutorial, thank you very much
  • @bezeltipis
    Thanks Brian for this knowledge 🤩 👍🏻
  • Hey, Brian. I like the way u explain. Can u make a video on handling Data binding in MVVM.