Quantcast
Channel: Heap – iOS Brain
Browsing latest articles
Browse All 46 View Live

Image may be NSFW.
Clik here to view.

Swift 4 memory management via ARC for reference types (classes)

RELATED: Learn how to identify and fix memory leaks, specifically strong reference cycles, in “Fixing memory leaks — strong reference cycles — in Swift 4.” Most developers assume that Swift is a “safe”...

View Article


Image may be NSFW.
Clik here to view.

Fixing memory leaks — strong reference cycles — in Swift 4

PREREQUISITES FOR THIS TUTORIAL If you don’t understand how Swift manages memory for classes (reference types), you need to read the first article in this series, “Swift 4 memory management via ARC for...

View Article

Image may be NSFW.
Clik here to view.

Finding memory leaks with the Xcode Memory Graph Debugger and fixing leaks...

In this tutorial, I’ll show you how to track down memory leaks within Xcode via the Memory Graph Debugger, new since Xcode 8. This is a powerful visual tool and doesn’t require you to step out of Xcode...

View Article

Image may be NSFW.
Clik here to view.

Building a generic doubly linked list using protocol-oriented Swift 4

My original article — “Protocol-oriented Data Structures in Swift 4: A Generic Doubly Linked List” — was published on appcoda.com. Follow along with this tutorial! Download the Swift 4 code from...

View Article
Browsing latest articles
Browse All 46 View Live