Swift 5.5: Async Await Operations (Xcode 13, iOS 15, 2022) - iOS for Beginners

preview_player
Показать описание
In this video we will learn to use the new async await attributed to perform async operations in Swift. Newly available as of 2021 and Swift 5.5, this new style greatly improves upon closures, callbacks, and other concurrent patterns in Swift & iOS. We'll be working in Xcode 13 and Swift 5.5

#swift #asyncawait #wwdc2021

** Like my teaching style? Check out some of my most popular courses!

Join this channel to get access to perks, code, groups, and more:

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:
Рекомендации по теме
Комментарии
Автор

Some imminent deprecation on the "async { ... }" call. Need to change it (going forward) to "Task { ... } "

karlostj
Автор

async {} is now Task.init(operation: {})

samha
Автор

Man that so fast, it doesn't take a week and you already make tutorial for new features. Keep going bro!

difanaufalpratama
Автор

Nice. I think a whole series of tutorials on this is needed, with simple to complex use cases. I would buy the course if you made one :)

glennadams
Автор

Great video. I'm a senior iOS engineer but trying to catch up on some APIs I've been lazy to learn.

fermatslasttheorem
Автор

These videos are absolutely outstanding summaries thank you 🙏

flamboulder
Автор

The syntax is much better, it makes sense. completion handlers didn't make sense as they are part of the function parameters but when you call them, the closure is outside the params ().

TheBooban
Автор

Nice, looking forward to some practice about it

smael
Автор

yeah ima call you professor iOS now <3

Автор

But what if we are using alamofire which returns a Result type data, from which it’s not possible to return data as we can’t return anything inside cases of result, how to handle that any help would be appreciated.

RahulVerma-tvgq
Автор

We all know async calls do not block execution until the async operation is completed.

With await being introduced are we still doing that or are we waiting on the async operation being completed?

dhav
Автор

how did you do that without adding import _Concurrency? I get error about couldn't found async. Also imported concurrency but couldn't found that module.

hakankumdakc
Автор

so is @escaping completion handlers obsolete now?

TheBooban
Автор

Thanks for the content, btw which theme in Xcode do you use?

coffeebydny
Автор

I wish these tutorials were done in SwiftUI, much cleaner, and much faster. Instead of spending like 8 minutes setting up the project due to UIkit nonsense, just add List (user) and be done.

hajjdawood
Автор

Really good video, thanks for sharing that. It was concise and easy to understand.

MrLinusunil
Автор

Do you have a video on how to use a REST API with Swift?

TheSpiralnotizblock
Автор

can you or someone please tell me what is the different of the tableview variable you wrote that looks the same as lazy variable definition, but without the lazy keyword.
is it behave like lazy? is this variable create only once and only when someone access to it?

at 03:55

asigivati
Автор

Async await it's pretty cool and very simple ❤️. Thank you for u tutorial sir. Please, if is possible, make a tutorial about repository sir. 😁

souallei
Автор

Bad quality of the video. Please fix this. You hurt our eyes. Besides that, thanks for the content. It's very helpful.

sebastianstrus