How to use weak self in Swift | Continued Learning #18
Swift uses Automatic Reference Counting (ARC) to manage your app’s memory usage. As a developer, you want to try to keep the ARC count as low as possible, which will keep your app running fast and efficiently. In this video we will learn how to use "weak references" instead of "strong references" to keep our count low! This can be quite a confusing topic for new developers, so we will first spend some time reviewing the problem before learning how to implement the solution. Learn more about ARC: https://docs.swift.org/swift-book/Lan... Learn more about weak self: https://www.avanderlee.com/swift/weak... *Note: I am aware that Swift also has "unowned self" which is often mentioned with "weak self". However, if you use "unowned" incorrectly, it will crash you app. Therefore I am only teaching "weak self" in this course as it is safer and more common. Next video: • How to use Typealias in Swift | Continued ... Last video: • Multi-threading with background threads an... 🤙 WELCOME BACK 🤙 WEBSITE: https://www.swiftful-thinking.com DISCORD: / discord GITHUB: https://github.com/SwiftfulThinking/ SAY THANKS: https://www.buymeacoffee.com/nicksarno

How to use Typealias in Swift | Continued Learning #19

Multi-threading with background threads and queues in Xcode | Continued Learning #17

Codable, Decodable, and Encodable in Swift | Continued Learning #21

Download JSON from API in Swift with Combine | Continued Learning #23

I Gave ChatGPT a Body

"Clean" Code, Horrible Performance

Nobody Breaks Celebrities Like Rowan Atkinson

Trump Preps for 80th Birthday, Threatens to Hit Iran, Knicks Historic Win & Elon Musk Trillionaire!?

DispatchQueue in Swift 5: iOS Concurrency & Threading (Xcode 11, 2020, swift)

How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python

How to use Dependency Injection in SwiftUI | Advanced Learning #16

How to schedule local Push Notifications in SwiftUI | Continued Learning #11

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

My Golden Retriever Heals a Terrified Rescue Kitten in Just 3 Meetings!

Filter, Map, Reduce, CompactMap, FlatMap - Swift - iOS Dev Interview Questions

Unbelievable Workers | Working with Talented Engineers #46 #fail #adamrose #smartworkers

The #1 Swift Technique That Will CHANGE Your Coding Style

Software engineering at the tipping point

SpaceX Went Public - A Disaster Waiting to Happen

