Tag Archives: memory management

Memory Graph Debugging in Xcode

      3 Comments on Memory Graph Debugging in Xcode

We don’t have a garbage collector in swift, so we need to understand the memory graph of our apps. If we’re not careful with object references we can easily create strong reference cycles and leak memory. Sooner of later, you’ll find yourself hunting down that illusive memory leak. Fortunately, we… Read more »

Memory Management in Swift: The Strong, The Weak and The Unowned

If you started your iOS development career in Objective-C, especially pre ARC Objective-C, you’re probably very familiar with the above-mentioned concepts. If you started with Swift, some of them might be a bit murky, hopefully, by the end of this post, you’ll get to know them a bit better. A… Read more »