Thanks a lot for this video, a short concise tutorial on doing backend calls. I've been looking for this to get a first app going. Now time to find out if this is the proper wya of doing things or not. But this is a great first step at least!
Hey love the video I am a beginner and I’m working on a school project fetching data from marvel comic. The thing is I don’t know how to use the private key and public key I have
loved the video. very helpful. i can see it load to simulator. how do i get it to load to a view or screen? id like to have this as a button, that goes to a view that loads this.. am i missing something?
on 7:53 when you are doing a seperate fetch to get the image, I was a bit confused because in the fetch Data you didn't pass in a urlString, it was set at the top as blank?!
Do you have a video showing how to make an api call and take a list of images and displaying them with? Just doing images? using the latest Swiftui version?
Your short demos are so incredibly useful. Question.. Using this setup how would you recommend handling .svg images instead of png/jpg? Also.. do u have any videos on when to conform models to hashable vs identifiable?
Would you please do a video explaining how to save data from your app (such as a photo, or a pdf generated in your app) to Egnyte? There’s practically nothing online.
Would be cool to see how you can then click on each of the courses and then load a VideoPlayer which opens a full screen video player with the course video. Let me know if you can point me in the right direction for this :) Great videos by the way!
we can use an async image to fetch images. in ios 15
ปีที่แล้ว
excuse my lack of knowledge, but Is there a way to Indent or identify by colors in order to make it more readable at first sight like in VSCode? I mean, the code is very readable, but If it will exist any plugin for make it more readable will be very good
Hi, what about nested arrays. It fetches well but I would love to know how to access arrays inside arrays. Usually in JavaScript, you can access that data with data.nestedData but it returns error in swift
@@dijkstrafeel8834 My solution was using struct for example: struct nestedData: Hashable, Codable { let title: String let description: String } struct arrayField: Hashable, Codable { let _id: String let title: String let artistDetails: nestedData } that should work and let you access the nested data
In the struc Course code block, I entered every line of your code but Xcode keep saying "Type 'Course' does not conform to protocol 'Decodable'" after the first line and "Expected member name or constructor call after type name" after the let name = String and let image = String Is there any way to fix this? thank you in advance!
Nice video for people who already know everything you’re doing lol. You type so much code that you don’t explain and the stuff you do explain only gets half explained. Ugh. So frustrating
Like are you racing someone? What’s the point of doing a tutorial and going so fast. SMH. It’s like you just wanted to show off something you can do and not actually help. Super disappointed.
Thanks a lot for your video! It has been helpful to start my project and it works perfectly with my own API. I have a couple of additional question. The first, more important, is that I would like to create a detail view of the single entry of the table, I created the detail view and I am able to do it using a static json but I am really struggling how to do it with a json retrieved from a rest api call. The second question is how to refresh the page, I have introduce the .refreshable{viewModel.fetch()} under .onappear but it does not work, there is some caching somewhere? Really thanks for your answer, I am still not able to find some document or instruction how to pass rest api json object to a detailView. Great Job!
Perfect tutorial, thank You. You are so fast, I must pause the Video every 20 Seconds to understand everything right.
Fantastic pace & video.
Very well done! Great quick illustration of a lot of capability. So glad to see more and more SwiftUI content from you!
Great video, loved that you explained all steps thourghly thanks!!
OMG this is too good ! thank you
Thanks
thank you so much .. your amazing
Youre welcome
Thank bro, it's really helpful
Youre welcome
Nice and fast, love it!
Thank you
Thanks a lot for this video, a short concise tutorial on doing backend calls. I've been looking for this to get a first app going. Now time to find out if this is the proper wya of doing things or not. But this is a great first step at least!
Thanks
Thank you bro
Youre welcome
great video
Thank you
Great tutorial, thank you!
You're very welcome!
Great video! One question, how did you make your API endpoint?
it's really helpful
Thanks
Great video , but I have one question here
Why you used StateObject instead of ObservableObject in this case
Hey love the video I am a beginner and I’m working on a school project fetching data from marvel comic. The thing is I don’t know how to use the private key and public key I have
Thank you so much !!!
You're welcome!
loved the video. very helpful. i can see it load to simulator. how do i get it to load to a view or screen? id like to have this as a button, that goes to a view that loads this.. am i missing something?
Can you show us how you would implement caching here?
on 7:53 when you are doing a seperate fetch to get the image, I was a bit confused because in the fetch Data you didn't pass in a urlString, it was set at the top as blank?!
great video😀 i started learning rxswift and i think you have a video about it are you planning to make more videos 🙂
Thanks & yes
Do you have a video showing how to make an api call and take a list of images and displaying them with? Just doing images? using the latest Swiftui version?
Your short demos are so incredibly useful. Question.. Using this setup how would you recommend handling .svg images instead of png/jpg? Also.. do u have any videos on when to conform models to hashable vs identifiable?
Thank you
Would you please do a video explaining how to save data from your app (such as a photo, or a pdf generated in your app) to Egnyte? There’s practically nothing online.
Sure thing
what if i get 50 courses .. but i only want to show 10 at a time .. how can we achieve this .. can you please explain ?
If you got an array named courses you can just use courses[0...9] to get the first 10 elements (0 to 9) of the array
Pagination. Most efficient way is to ask the backend to implement it and send 10 items in one page.
Would be cool to see how you can then click on each of the courses and then load a VideoPlayer which opens a full screen video player with the course video. Let me know if you can point me in the right direction for this :)
Great videos by the way!
Is this all running on the main thread? It's never clear to me when I have to be aware if stuff is running on a background thread....
Where are you to find API end points? Is there a website where you can find the end points for other websites?
You can just google them
In Android there is an extra layer, which is a repo for fetching data from storage or a network call. So View -> ViewModel -> Repo
we can use an async image to fetch images. in ios 15
excuse my lack of knowledge, but Is there a way to Indent or identify by colors in order to make it more readable at first sight like in VSCode?
I mean, the code is very readable, but If it will exist any plugin for make it more readable will be very good
Can you make a video about How to create an api ?
Can you make VIPER tutorial with APIs?
Or combine in depth ?
Sure thing!
Can I use Identifiable instead of Hashable?
Yes!
Great video, any idea how i can use this with a todo list app where i store my todos in json directory and have a calendar which creates each event?
how can i setup on clicks and open a specific course
Can you make a tutorial on POST Api call on swiftUI??
Sure
@@iOSAcademy Thanks❤️
please make rxswift videos, the way you explain the stuff is very easy to understand
Coming soon
Thanks..
@StateObject var viewModel = ViewModel() getting this error "Generic struct 'StateObject' requires that 'ViewModel' conform to 'ObservableObject'"
doesn't work from the [weak self] why ?
Did you accidentally use a struct?
Hi, what about nested arrays. It fetches well but I would love to know how to access arrays inside arrays. Usually in JavaScript, you can access that data with data.nestedData but it returns error in swift
Can u share ur solution?
@@dijkstrafeel8834 My solution was using struct for example:
struct nestedData: Hashable, Codable {
let title: String
let description: String
}
struct arrayField: Hashable, Codable {
let _id: String
let title: String
let artistDetails: nestedData
}
that should work and let you access the nested data
Hello 👋🏼
Can you turn on subtitles please? at least automatic subtitles will be fine for me
In the struc Course code block, I entered every line of your code but Xcode keep saying "Type 'Course' does not conform to protocol 'Decodable'" after the first line and "Expected member name or constructor call after type name" after the
let name = String and
let image = String
Is there any way to fix this?
thank you in advance!
doesn't work from the [weak self] help :(
what specifically doesnt work
welp pattern is down so I can't actually get code to tinker with
Hey bro how did you create the custom api ?
Nice video for people who already know everything you’re doing lol. You type so much code that you don’t explain and the stuff you do explain only gets half explained. Ugh. So frustrating
Like are you racing someone? What’s the point of doing a tutorial and going so fast. SMH. It’s like you just wanted to show off something you can do and not actually help. Super disappointed.
please dont go that fast and spend a bit much time on each step. Thank you
Ни хрена не понятно, но очень интересно.
Лол
TOO FAST!
Thanks for the feedback
hi, quick question. My viewModel.fetch is giving an error. Any idea why?
Thanks a lot for your video! It has been helpful to start my project and it works perfectly with my own API. I have a couple of additional question.
The first, more important, is that I would like to create a detail view of the single entry of the table, I created the detail view and I am able to do it using a static json but I am really struggling how to do it with a json retrieved from a rest api call.
The second question is how to refresh the page, I have introduce the .refreshable{viewModel.fetch()} under .onappear but it does not work, there is some caching somewhere?
Really thanks for your answer, I am still not able to find some document or instruction how to pass rest api json object to a detailView.
Great Job!
Great tutorial; thanks!