Write a Simple, Scalable REST JSON API Client in Swift 5 for iOS (Tutorial)

  Рет қаралды 10,636

Code Anatomy

Code Anatomy

Күн бұрын

Пікірлер: 18
@jarnleikr
@jarnleikr 2 жыл бұрын
Very nice clean code, I like your style both in code and presenting it. Keep it going!
@responsive_random
@responsive_random 2 жыл бұрын
This is really helpful. Nice way to make things organized. I tweak it a bit to get a synchronous version(not needing the callback)
@dev_jeongdaeri
@dev_jeongdaeri 2 жыл бұрын
Really nice approach ❤
@greg-7317
@greg-7317 2 жыл бұрын
very good practice with enums, i’d use it now 👏💡
@JasonRodrigues1
@JasonRodrigues1 2 жыл бұрын
nice tutorial mate. Thanks for uploading!
@thecodeanatomy
@thecodeanatomy 2 жыл бұрын
Thank you! A little short on time these days but can’t wait to get the next video up!
@JasonRodrigues1
@JasonRodrigues1 2 жыл бұрын
@@thecodeanatomy yep nice. I modified your approach slightly to incorporate async/await features in swift 5.5 maybe that would be a quick extension for this video. I couldn’t find many short tutorials on that
@thecodeanatomy
@thecodeanatomy 2 жыл бұрын
That’s a great idea! I wanted to do an async await tut for a while but I had other subjects on the list first
@GeraldBrigen
@GeraldBrigen 2 жыл бұрын
Nice tutorial, what is your view on simplifying the code with the new async await in Swift?
@thecodeanatomy
@thecodeanatomy 2 жыл бұрын
Thank you Gerald! async/await is awesome! I can't wait to do a tutorial on that as well. For this one though, I figured this method is not usable by everyone building for older versions of iOS. But async/await is definitely the way to go forward, like in any modern programming language
@ra9r
@ra9r 8 ай бұрын
Why not use Async/Await instead of a Returning a Result type? What are your thoughts on Combine in this situation?
@JunaidKhan-ny8tu
@JunaidKhan-ny8tu 2 жыл бұрын
Waiting for async await
@abanoubashraf1308
@abanoubashraf1308 2 жыл бұрын
can you provide the starter code please?
@thecodeanatomy
@thecodeanatomy 2 жыл бұрын
That is a great point! Yes I’ll have it uploaded by tomorrow, thank you for bringing it up!
@abanoubashraf1308
@abanoubashraf1308 2 жыл бұрын
great, i will be waiting, thanks :)
@thecodeanatomy
@thecodeanatomy 2 жыл бұрын
@@abanoubashraf1308 I have just uploaded the starter project to my github: github.com/CristiHabliuc/codeanatomy-projects/tree/main/starters/APIClientStarter
@abanoubashraf1308
@abanoubashraf1308 2 жыл бұрын
@@thecodeanatomy thank you so much
@mingjunlei6316
@mingjunlei6316 2 жыл бұрын
waiting for combine
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 10 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
Seja Gentil com os Pequenos Animais 😿
00:20
Los Wagners
Рет қаралды 30 МЛН
Swift 5.9 Released | Prime Reacts
14:36
ThePrimeTime
Рет қаралды 70 М.
SwiftUI API / JSON Tutorial with Async Await Example
9:52
Logan Koshenka
Рет қаралды 25 М.
How To Work With Any API (API Tutorial using URL Requests)
27:07
CodeWithChris
Рет қаралды 125 М.
iOS Swift Tutorial: Use Web APIs and JSON Data with Swift 5
32:22
Brian Advent
Рет қаралды 92 М.
How to Load Data From a JSON File Into Your App | Swift 5 in Xcode 11
26:01