title: When should I use deinit?
body: <p>I came across a function called <code>deinit()</code> while reading <a href="https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/index.html" rel="noreferrer">The Swift Programming Language guide</a>, but I'm still wondering why and when we need to implement it since we don't really need to manage memory.</p>