Quick and Easy Swift Async Await Tutorial for iOS with Xcode

preview_player
Показать описание
In this video, we give a quick and easy tutorial to Swift's async await for iOS using Xcode.

#swift #developer #ios #xcode

Timeline:
00:00 - Intro
00:05 - The Situation
00:18 - What is Async Await?
00:29 - The Issue with Delegates
01:23 - The Issue with Completion Handlers
02:11 - Why Should We About Async Await?
02:24 - The Strategy
02:49 - Step 1 - Locate Current Async Calls and Check for Updated Version of The Function
03:02 - Step 2 - Re-write Function to Use Async Await
03:17 - Step 3 - Call new Updated Async Await Version of the Function
03:21 - Step 4 - Update the Call Site by Calling new Async Function with Try Await
03:41 - Step 5 - Wrap Call Site in a Task Object
03:53 - The Demo!
04:04 - Code Comparison
04:13 - Recap Summary
04:26 - Kingsley! 🐶

Credits:

Swift Async Await Concurrency Asynchronous Network requests Swift 5.5 Race Conditions
Рекомендации по теме
Комментарии
Автор

Great video! Easily explained and entertaining. Keep em coming. And more dog!! lol

anthonemoore
Автор

You explained it well so it’s easy to understand! I can’t wait to use async await! I won’t forget to set the data source delegate because of you! Ps. You have the cutest puppy Please feature him more in your future videos

haenakim
Автор

Cool vid! Not a swift developer but when through a similar experience with NodeJS's async await.

waynefoux
Автор

It took everything for me not to add a "rapper" function meme. 😅

bumbleparrot
welcome to shbcf.ru