filmov
tv
Use Closures Not Delegates | Swift 5, Xcode 10
Показать описание
Today we cover why I think you should consider using closures instead of delegates. We will go over a common example of where delegates are used and I will explain how to convert that example to a closure/callback style.
By the end of this video, you will know how to use and create your own closures, replace delegates with those closures, and know when to use closures over delegates.
*** Show Notes and Links ***
Need Help?
Project Files:
Kyle Lee on Social Media:
---------GEAR -------
Code Passionately T-Shirt
Laptop - 2017 MacBook Pro
Microphone - PowerDeWise Lavalier Microphone
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for the support!
By the end of this video, you will know how to use and create your own closures, replace delegates with those closures, and know when to use closures over delegates.
*** Show Notes and Links ***
Need Help?
Project Files:
Kyle Lee on Social Media:
---------GEAR -------
Code Passionately T-Shirt
Laptop - 2017 MacBook Pro
Microphone - PowerDeWise Lavalier Microphone
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, we’ll receive a small commission. This helps support the channel and allows us to continue to make videos like this. Thank you for the support!
Use Closures Not Delegates | Swift 5, Xcode 10
iOS 13 & Swift 5 - Delegates VS Closures callbacks
Day 30 (2/2): How to use Closures alternate to Delegates
Understanding Swift closures and pros/cons over protocols & delegates | iOS Dev Live Mentoring
What are Closures in C# and why you NEED to know about them
Delegate Closure with no memory allocation
iOS DEV: Is it better to use delegates or closures for async operations? | ED Clips
Closures Explained in 100 Seconds // Tricky JavaScript Interview Prep
C# : Why not .NET-style delegates rather than closures in Java?
C# DELEGATES in 8 minutes! Learn .NET FAST!
Swift Closures Explained
How to create and use closures – Swift for Complete Beginners
Swift Closures: @escaping Explained
Weak and Unowned Self Closure Memory Leak Fixes
Swift Delegate Protocol Pattern Tutorial 2023 | iOS Communication Patterns
How to pass data between controller in Swift? | Closure | Protocol Delegate
Stanford iOS 9 - Lecture 7. Closures, Extensions, Protocols, Delegation, and ScrollView
Delegates and Protocols in 4 Steps (Swift 5)
How To Build a Match Game - Lesson 5 (Protocol & Delegates)
Swift Delegate (Simple EASY Example)
iOS Tutorial: Delegation in Swift
Cold Calls Sale Hack | Phone Sales
Creating an iOS App using Protocol Delegate Design Pattern.
How To Use A Protocol to Delegate Action | Swift 4 | MVC
Комментарии