Side Table, Object Lifecycle, Unowned Refs | Advanced Memory Management (1) | Swift & iOS Basics
After a few weeks since my previous memory-management video ( • ARC, References & Retain Cycles | Intermed... ) came out, I’m having a look at advanced-level questions—because that’s where the most fun is! This time, I’m covering the difference between unowned (safe) and unowned (unsafe) references, explaining the side table, and diving into the details of object lifecycle. Support the Swift Bird by… • …joining as a member: / @thecodebird • …becoming a patron: https://url.ykvm.com/patreon • …buying me a coffee: https://url.ykvm.com/bmac More on Memory Management: • Swift & iOS Basics (playlist): • Fundamentals of Software Development in Sw... • Essential Memory Management: • What Memory Is & Why Manage It | Essential... • Intermediate Memory Management: • ARC, References & Retain Cycles | Intermed... • Advanced Memory Management (Part 2): • Autorelease Pool, Lazy Initialization & Mo... Links: • The one link to rule them all—reference counting source, with comments (explains the side table, +1s shenanigans, and object lifecycle): https://github.com/apple/swift/blob/m... • Unowned (safe) vs. unowned (unsafe): https://stackoverflow.com/questions/2... • Weak references before Swift 4 (and side tables): https://mikeash.com/pyblog/friday-qa-... • Weak references in Swift 4 (with side tables): https://mikeash.com/pyblog/friday-qa-... • Side tables with pictures: https://web.archive.org/web/202403050... Chapters: • 0:00 Intro • 1:10 Unowned (Safe) vs. Unowned (Unsafe) • 3:38 Side Table • 7:56 Object Lifecycle • 11:23 Outro The Swift Bird, a Yakov Manshin production 🎞️ #Swift #memorymanagement #softwareengineering

ARC, References & Retain Cycles | Intermediate Memory Management | Swift & iOS Basics

Autorelease Pool, Lazy Initialization & More | Advanced Memory Management (2) | Swift & iOS Basics

How to manage strong & weak references with Async Await | Swift Concurrency #13

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Are New Software Engineers Worse

Copy-on-Write: Why Swift’s Value Types Are SO EFFICIENT (And When CoW Fails) | Swift & iOS Basics

Swift - Retain Cycle, Automatic Reference Counting, Memory Leak - iOS Interview Questions

The Lost Discipline of the Alarm: What Notification Design Forgot

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Swift Retain Cycle / Memory Leak Explained (iOS Interview Question)

You Owe Him

Billionaire's WARNING: I'm SELLING. The Crash Is Already Here!

The Big Short (2015): The Jenga Scene – Explaining the Financial Collapse

Careful With “Singleton” Lookalikes (WAY TOO COMMON)

Linus Torvalds: AI Is Changing Linux Fast

the true reason C++ always wins

40Hz Binaural Gamma Waves - Ultra Deep Concentration

The World's Most Important Machine

UIViewController - Lifecycle | Swift | viewDidLoad

