Y

YouLibs

Remove Touch Overlay

Swift Concurrency Lesson 4 - Async and Await

Duration: 16:41Views: 4.7KLikes: 103Date Created: Dec, 2021

Channel: CodeWithChris

Category: Education

Tags: async swiftconcurrency in swiftasync awaitawait swiftswiftui rest apiswift async taskswift 5 async awaitswift get json from urlswift asyncswift awaitswift concurrencycompletion handlerusing json in swiftswift concurrency backwards compatibilityresult typeshow to use result in swiftios concurrencyswift completion handler resultswift fetch data from apiswift async awaitswift result handlerswift fetch jsonswift concurrency backport

Description: This is the 4th of 6 videos in the Swift Concurrency series. In this video we are going to be implementing the new Asynchronous methods introduced in iOS 15. This will introduce you to new terms such as async and await, @MainActor, and a unit of asynchronous unit of work called a Task Links and Resources Swift Concurrency Series Playlist: youtube.com/playlist?list=PLMRqhzcHGw1a4jFHEBitPwCtAgPxWldfy Starter Code Completed Source code for Part 3: dropbox.com/s/82e03ylqbhivn77/iOS-Concurrency-L3-Completed.zip?dl=0 Part 4 Completed Code: dropbox.com/s/4v15q70zuf6t91x/iOS-Concurrency-L4-Completed.zip?dl=0 Timestamps 0:00 Introduction 0:40 Creating a new git branch 1:45 Creating a new getJSON function with Async and Await 9:45 Refactoring the fetchUsers function 12:04 Introducing the MainActor 12:37 Introducing Task ๐Ÿšจ SPECIAL CWC+ OFFER FOR YOUTUBE: cwc.to/youtubeoffer MY FREE ONLINE COURSE: โšก How to make an app in 14 days - cwc.to/14days CWC+ PROGRAM: ๐Ÿ‘ฉโ€๐Ÿ’ป All our courses in a learning path - cwc.to/plus WEEKLY UPDATES VIA EMAIL: โœ‰๏ธ Every Saturday, receive an email digest of new content - cwc.to/newsletter CONNECT: ๐ŸŒ Website - codewithchris.com ๐Ÿ˜บ GitHub - github.com/codewithchris ๐Ÿ“ธ Instagram - instagram.com/codewithchris ๐Ÿฆ Twitter - twitter.com/codewithchris ABOUT CODEWITHCHRIS: Hi Iโ€™m Chris! Iโ€™m dedicated to teaching fundamentals about how to make an app. This is important if youโ€™re trying to land an iOS job, be a freelancer, increase or start a business with an app idea. On this channel and my website, you'll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have learned to code and build apps on their own! cwc.to/reviews DID THESE LESSONS HELP YOU? Please let me know! - feedback.codewithchris.com ROADMAP: roadmap.codewithchris.com

Swipe Gestures On Overlay