Тёмный

How to Network Like A Pro | Async/Await | Pagination | Error Handling | From A Meta Engineer 

AppStuff
Подписаться 20 тыс.
Просмотров 15 тыс.
50% 1

Learn how to write professional networking code with SwiftUI using an amazing cryptocurrency application.
Feature list:
👉 Async/Await for fetching live crypto data with SwiftUI
👉 Error Handling
👉 Pagination
👉 Refresh data
🖥️ RESOURCES
🔴 STARTER PROJECT (downloadable source code):
github.com/sdowless/CryptoAsy...
🔴 Become a member for lifetime access to source code:
www.stephancodes.com/blank-page
🖥️ MORE COURSES & SOURCE CODE FILES
👉 Pro Courses:
www.stephancodes.com/videos
👉 iOS App Templates:
www.stephancodes.com/shop
👉 FREE Crypto SwiftUI Course
• Free iOS Development C...
👉 FREE UBER SwiftUI Course
• 🔴 Let's Build UBER wit...
👉 FREE Twitter SwiftUI Course
• 🔴 Let's Build Twitter ...

Наука

Опубликовано:

 

4 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@anonanon7249
@anonanon7249 Год назад
Thank you just what I needed please post more content!
@scarlet5742
@scarlet5742 10 месяцев назад
love the content, keep up the good work!
@vladislav2587
@vladislav2587 10 месяцев назад
It’s gold. Thank you!
@ssaai
@ssaai 9 месяцев назад
Please make a tutorial about access and refresh token
@BABEENGINEER
@BABEENGINEER 2 месяца назад
amazing tutorial, we love it 💕🔥
@galavarezzzk3610
@galavarezzzk3610 4 месяца назад
thank you for the video. Great tutorial!
@rank1macro
@rank1macro Год назад
NEW VIDEO FROM MY FAV TEACHER & MENTOR. Thanks brother, happy new year 🎉
@appstuff5778
@appstuff5778 Год назад
Happy new year to you too man!
@garywkfung
@garywkfung Год назад
Great video! Can you also teach us how to do this with a grid view? There doesn’t seem to be a way to do lazy loading with a grid view that has cells with different height. Like a Pinterest view
@chings228
@chings228 10 месяцев назад
I was a obj-c programmer , so many swiftui thing need to pick up . you tutorial is so helpful ,thx
@appstuff5778
@appstuff5778 10 месяцев назад
Thanks so much Tom! Make sure you check out my website, have a ton of swift content. The diamond member plan gets you access to everything for $39/mo
@filipp7611
@filipp7611 9 месяцев назад
async/await is not a "new SwiftUI feature", it is a general Swift language feature and can be used in projects without SwiftUI. Also "Combine" a bit better fits SwiftUI, so I would use "URLSession" publishers to make a request and connect the result with UI. But in general great video for beginners.
@lukemorrice8692
@lukemorrice8692 6 дней назад
This is amazing, thank you
@rrezzz
@rrezzz 9 месяцев назад
You are the best👌🏻
@LukePighetti
@LukePighetti Год назад
22:35 Would it handle more cases if we did showAlert = true instead of showAlert.toggle()?
@LukePighetti
@LukePighetti Год назад
30:18 is there any way to structure the page number logic such that a failure to fetch page 2 followed by a scroll down will not skip page 2 content? Is this an error case worth building for?
@user-qz9mm2eg8l
@user-qz9mm2eg8l 6 месяцев назад
Beautiful vid
@LukePighetti
@LukePighetti Год назад
28:43 could we create an extension on ForEach called onLastAppear() and remove some of the plumbing logic?
@adeby
@adeby Год назад
Thanks for the video, informative. Special thanks for the MainActor! I wanted to know why you don't use alamofire and what might be a problem with it?
@appstuff5778
@appstuff5778 Год назад
It’s just not really necessary to implement an entire swift package that essentially does the same thing
@okeyshourovroy2769
@okeyshourovroy2769 Год назад
Can you please make a video on video calling with swiftui without agora or other paid tools. Using native solutions like RTC. 🙏
@LukePighetti
@LukePighetti Год назад
4:51 what does the // MARK: comment do?
@josejaimefelixgarciagarcia8884
@josejaimefelixgarciagarcia8884 8 месяцев назад
9:32, when you say this function is going to be async, does that mean it just runs on a different thread?
@LukePighetti
@LukePighetti Год назад
25:12 can you please explain why the coins would get stacked? It looks like a successful fetch is setting the coins array values, not appending them to the array
@hemantstha4144
@hemantstha4144 10 месяцев назад
let page = coins.count / pageLimit + 1. should help you
@krishnavivek9254
@krishnavivek9254 10 месяцев назад
Hi Stephan, Video is informative and coding is relaly impressive. It seems that async/await is not used in production due to stack corruption bugs. Is it worthy to use thsi in our projects ?
@appstuff5778
@appstuff5778 10 месяцев назад
I work for a very large company, and almost all of our networking code was refactored to use async await
@LukePighetti
@LukePighetti Год назад
17:39 does annotating this function with @MainActor cause the entire fetching operation to be executed on the main thread instead of a background thread? Does it block UI updates?
@amdizle28
@amdizle28 Год назад
From what I have read it would put all code in the func marked with @MainActor to run on the main thread so if you have an API call there it could block UI on the main thread. Better to separate concerns and dispatchMain for UI updates or call another func for just updating UI.
@Aureliola
@Aureliola Год назад
Long time no see you. Hope you doing well
@shafferzeyn9710
@shafferzeyn9710 Год назад
can you add .searchable() this list view please. I want learn how to filter search data from API.You have very nice code teach talent.Thanks
@appstuff5778
@appstuff5778 Год назад
Your API would need to support searching functionality. This is just fetching a big block of JSON, so you need to do the filtering client side
@stephenaldous762
@stephenaldous762 Год назад
How to adjust this to support a POST http ?
@jasenhansen9788
@jasenhansen9788 Год назад
I second this request. If you post data to a server (database) via a PHP WebService, for example, is there an efficient way to confirm delivery.
@reignofrage
@reignofrage Год назад
W bro
@lorenzolaricchia6584
@lorenzolaricchia6584 Год назад
The link of STARTER PROJECT does not work
@jazz_devk1
@jazz_devk1 Год назад
dito link of STARTER PROJECT does not work
@appstuff5778
@appstuff5778 Год назад
Clicking the link should download the project to your downloads folder
@kujtims
@kujtims 3 месяца назад
video starts at 2:16
@phitsch
@phitsch Месяц назад
Network like a pro? this is joke right?
Далее
Recycled Car Tyres Get a Second Life! ♻️
00:58
Просмотров 3,5 млн
когда повзрослела // EVA mash
00:40
Просмотров 1,8 млн
SwiftUI API / JSON Tutorial with Async Await Example
9:52
🔴 6 GAME CHANGING Xcode Tips, Tricks & Shortcuts
6:53
Rest API - Best Practices - Design
15:50
Просмотров 98 тыс.
💅🏻Айфон vs Андроид🤮
0:20
Просмотров 736 тыс.
Неразрушаемый смартфон
1:00
Просмотров 1,9 млн
Дорогие компы БЕСПОЛЕЗНЫ?
1:00
Просмотров 738 тыс.