Комментарии:
You are a legend man
ОтветитьComing from web world. Finally found a good creator for swift. Time to binge….
ОтветитьMe writing a network call in python in 3 lines 🫣
ОтветитьYou explained this so well! Thank you for this!
ОтветитьHi Sean, Out of subject can we create an xcframework with third-party dependencies like Alamofire, lottie-ios etc..
ОтветитьVery good training video and an important training video to watch. I like how you demonstrate network calls and syncing the API data, coding the JSON, and creating a starter page all on one Xcode file. This makes it much easier to follow.
ОтветитьMy brain hurts, thanks for the video!
Ответитьhow to fix "Function declares an opaque return type, but has no return statements in its body from which to infer an underlying type" i create exactly like video but got this one error, already google it cant really found the solution.
Ответитьplease make video about access and refresh token, Where to save in the iOS, how to call the api
ОтветитьThank you! I started out learning iOS until I went to Flutter! I’m looking to learn more Native iOS and you made this easy for me. This is pretty similar to making network calls in Flutter.
ОтветитьDo you know how to get the redirect url when getting status code 301? I need to add query items to the new url. Thanks :)
ОтветитьThanks so much. It is true - for a beginner having all the code in one place makes it easier to understand.
ОтветитьI know Sean probably did it for the sake of simplicity.
But for anyone starting out with SwiftUI, @State variables are meant only for local view changes and not for any external state change such as an API call. Ideally this should toggle state changes by subscribing to an ObservableObject along with @Published properties (or even better the new Observable macro if you're targetting iOS 17).
As usual, great vid, Sean.
Hi Sean, Thanks for the video!
Question: Why don't you need to wrap this line in a "do catch" ?
let (data, response) = try await URLSession.shared.data(from:url)
Thank you man, you are the bestest
ОтветитьLiterally I watch your videos the past week and realized I wasn't subscribed. Shame on me!
Ответитьits ok. I understand. but i try to use a JSON from Woocommerce. ( products, price, description ) but not working. i dont know whats the problem
Ответить