ARC & Memory Management in Swift
ARC handles much of Swift's memory management for us.
But you still need to understand:
- Strong references
- Reference cycles
-
weakvsunowned - Closures and object lifetimes
- Common memory leaks
Understanding ownership makes debugging memory issues much easier.
https://medium.com/@dkvekariya/2e9af2ea677f
Top comments (0)