Swift Retain Cycle / Memory Leak Explained (iOS Interview Question)

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • In this video I cover: causes of a swift retain cycle / memory leak, ARC / automatic reference counting, swift strong vs. weak variables, and more.
    What did you think of this video? Let me know in the comments :D
    I heard these videos were rad:
    Watch me totally revamp the iOS Contacts app: • I Built a BETTER Conta...
    Create beautiful glassmorphism screens in SwiftUI: • SwiftUI Glassmorphism ...
    Learn how to use MVVM architecture with SwiftUI: • SwiftUI MVVM Tutorial:...
    #Swift #RetainCycle #MemoryLeak #XCode #iOSDeveloper

КОМЕНТАРІ • 9

  • @JudgeRich
    @JudgeRich 2 роки тому +1

    As always, great video. And for some reason, your videos are always right on time with what I need to know. Thanks!

  • @developerios6096
    @developerios6096 2 роки тому +1

    Easy to understand and a must have knowledge. Thank you logan

  • @AlejandroPena-gp1nt
    @AlejandroPena-gp1nt 4 місяці тому +1

    4:00 funny moment 🙂

  • @rungxanh2901
    @rungxanh2901 2 роки тому +1

    Thanks Logan, very helpful 🙏

  • @deepesh259nitk
    @deepesh259nitk 7 місяців тому

    IMO, weak reference will always keep the reference count of an object to 1, and when the system does not use a object it can easily decrement the reference count to zero making the object deallocated from the memory.

  • @Developerxx
    @Developerxx 4 місяці тому +1

    4:00 funny moment 🙂