Max Desiatov 12/17/2018

Unbreakable reference cycles in Swift no one is talking about

Read Original

This technical article delves into Swift's memory management, focusing on a nuanced problem: unbreakable reference cycles that cause memory leaks. It explains the differences between value and reference types, illustrates how cycles form even with careful use of `weak`, and presents advanced examples and insights not commonly documented, based on the author's trial and error.

Unbreakable reference cycles in Swift no one is talking about

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser