Channel: CodeWithChris
Category: Education
Tags: async swiftconcurrency in swiftasync awaitawait swiftswift async taskswift 5 async awaitswift asyncswift awaitswift concurrencycompletion handlerios concurrency tutorialusing 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 first of 6 videos in the Swift Concurrency - from Completion Handler to Async and Await series. In this first video, we will focus on creating our models from the JSON and an APIService to process the response. We will create a generic function to handle the different api endpoints and models and use a Result based completion handler with our own designed API Error. Links and Resources Completed Source code: dropbox.com/sh/qqsj51ubx8ivvhk/AABw0JHANqgCSLyOYqTexwbVa?dl=0 JSON Placeholder API: jsonplaceholder.typicode.com Duck Model Editor: apps.apple.com/ca/app/ducky-model-editor/id1525505933 QuickType: app.quicktype.io JSON and Codable Protocol Series: youtube.com/playlist?list=PLBn01m5Vbs4DKrm1gwIr_a-0B7yvlTZP6 Demystifying Completion Handlers and Asynchronous Functions: youtu.be/tuHcwRe61KE A Better Result: youtu.be/AIb3CQH8_jg Introduction to Generics in Swift: youtu.be/NY0LFoHQUbk Timestamps 0:00 Creating Model and APIService 23:56 VOODO and Creating the UI 47:44 Improving the User Experience 01:17:25 Async and Await 01:30:47 Backporting to iOS 14 π¨ 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