Swift Retain Cycle / Memory Leak Explained (iOS Interview Question)
HTML-код
- Опубликовано: 28 сен 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
Easy to understand and a must have knowledge. Thank you logan
thank you for watching!
4:00 funny moment 🙂
4:00 funny moment 🙂
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.
As always, great video. And for some reason, your videos are always right on time with what I need to know. Thanks!
love it - thank you!
Thanks Logan, very helpful 🙏
thanks!