Found this video after learning on the job for a month and let me just say that you explained this so clearly compared to some devs I'm working with. THANK YOU
It can be a bit tricky and it's hard to confirm without seeing your code, but you can try (1) adding a .background to the NavigationView, (2) adding a .background to the List or (3) creating a ZStack inside the NavigationView and adding a background layer. Also, the rows in a List had backgrounds of their own, so you'll need to add .listRowBackground on each row individually.
Great video! I'm curious. you used: let id: String = UUID().uuidString I've seen others use: let id = UUID() is there a big difference and are there times when you should use one over the other? Thanks again!
Great question. You can use either in SwiftUI and it'll be fine. I recommend the string version because it will be more compatible with backends and other 3rd party services that may not support the UUID Type. Type String is generally supported everywhere, while Type UUID is less common. You can always convert the UUID to a String later on if you prefer.
Thank you again. I haven't finished watching all the videos yet, but I'm wondering how can we manage the data type trhough multiple views, like we do with @State and @Binding 🤔
We can move this data the same way we move a String, Bool, or any other data type! I will be doing this in upcoming courses so don't worry if you're still confused.
in the data model, why is the follower count set to a constant and not a variable. I know you barely touched the fpollowercount in the video but I was just wondering if that's how you set it up even though its something that eventually changes.
Hey Rasheed! That is a phenomenal question honestly. We are creating what's called an "immutable struct", which means the data inside the struct never changes. If we want to update one of the data points inside the struct, we will actually create a NEW struct, using all the same information except it has a different follower count. I explain this in detail in the next playlist, but if you want to skip ahead, I do it towards the end of this video: ua-cam.com/video/nwpmWu1SP1k/v-deo.html
Thanks for another great vid! Anyone know the right way to include this data in @AppStorage? appstorage doesnt allow for the whole struct to be saved, but individual Variables/Constants within. But if a variable is defined optional in the Stuct definition (@AppStorage var x:y?) I run into errors when creating an instance and try to define the variable.
Dude, you're the best SwiftUI UA-camr out there and I've seen all of them at this point lol. Plz don't stop!!
Haha thanks Wad! I'm trying :)
@@SwiftfulThinkingseriously man, i have been religiously trying to learn and you have the best tutorials. Thanks for sharing this knowledge
You definitely should add a button "Buy me coffee" under the videos. You really the best SwiftUI tutor on UA-cam
I don't usually make comments on UA-cam but you are a legend, bro. No cap. You got me watching your entire playlist!
Found this video after learning on the job for a month and let me just say that you explained this so clearly compared to some devs I'm working with. THANK YOU
Wow! Another sticky point clarified. Nick is the best instructor out there!!!
I feel it's ramping up nicely. I'm really keen to get to a video where user data is saved on refreshing the app
You are so gifted. You explain things so well. Thank you for this wonderful world class video….bob
Awesome! Thanks for the lesson. Almost finished bootcamp)
😆 Awesome! Thanks for watching Sergei!
Bro this is amazing! Thank you for your work!
Another great lesson. Thank you.
Thanks for this Nick! finally I can understand what UUID is for when I watch it on other tutorials.
Thanks, is just a little word for your excellent effort. GOD bless on you
thank you, Nick
Great video! Thank you. Hope you’ll cover protocols one day? 😜
Hey olcay... definitely! I'm going to do a another series after this Bootcamp with more advanced topics like that :)
Really good video, Thanks
Nice Explanation: But can you please do a video on how to do an HTTP post request using SwiftUI with Combine?
I can't seem to figure out how to change the background color when there is a navigation view and a list.
It can be a bit tricky and it's hard to confirm without seeing your code, but you can try (1) adding a .background to the NavigationView, (2) adding a .background to the List or (3) creating a ZStack inside the NavigationView and adding a background layer. Also, the rows in a List had backgrounds of their own, so you'll need to add .listRowBackground on each row individually.
Great video! I'm curious. you used: let id: String = UUID().uuidString I've seen others use: let id = UUID() is there a big difference and are there times when you should use one over the other? Thanks again!
Great question. You can use either in SwiftUI and it'll be fine. I recommend the string version because it will be more compatible with backends and other 3rd party services that may not support the UUID Type. Type String is generally supported everywhere, while Type UUID is less common. You can always convert the UUID to a String later on if you prefer.
@@SwiftfulThinking Ok thanks! Good to know!
It’s interesting that using a spacer mimics an hstack
Thank you again. I haven't finished watching all the videos yet, but I'm wondering how can we manage the data type trhough multiple views, like we do with @State and @Binding 🤔
We can move this data the same way we move a String, Bool, or any other data type! I will be doing this in upcoming courses so don't worry if you're still confused.
Thank You!
Super
in the data model, why is the follower count set to a constant and not a variable. I know you barely touched the fpollowercount in the video but I was just wondering if that's how you set it up even though its something that eventually changes.
Hey Rasheed! That is a phenomenal question honestly. We are creating what's called an "immutable struct", which means the data inside the struct never changes. If we want to update one of the data points inside the struct, we will actually create a NEW struct, using all the same information except it has a different follower count. I explain this in detail in the next playlist, but if you want to skip ahead, I do it towards the end of this video: ua-cam.com/video/nwpmWu1SP1k/v-deo.html
@@SwiftfulThinking would you be open to private lessons?
@@rasheed1andrew I am available on Codementor for private lessons and/or help with projects. www.codementor.io/@nicholassarno
perfect
amazing
Awesome
Thanks
Aferin
Sup ...😇
Nick Thank you very much , really your tutorial is very very useful for us , Thank you bro 🤎🤎
Thanks for another great vid! Anyone know the right way to include this data in @AppStorage? appstorage doesnt allow for the whole struct to be saved, but individual Variables/Constants within. But if a variable is defined optional in the Stuct definition (@AppStorage var x:y?) I run into errors when creating an instance and try to define the variable.
Thanks