Great to finally have everything laid out correctly in our Discover screen. We are now ready to introduce the final touches of a Linear Gradient into this screen. To do this correctly, we'll arrange everything using a ZStack container where the LinearGradient will lie behind everything. Let's get started!
Comments (2)
turtle0001
2 years ago
Brian, I noticed we do a lot of code repetitions for the past 5 videos. I'm not sure if there's a code refactor plan, but I think it would be a great addition for the course if you can share your practice on reusable code. Thanks in advance.
Brian Voong
2 years ago
turtle0001
2 years ago
thank you so much!
Christopher J. Roura
2 years ago
The reason for the lack of syntax highlighting is because we are near maxing out the number of views in a struct. Even though it will still compile afterwards I noticed once we hit about 18+ views I lose syntax highlighting every time. As soon as I break up the views and extract views into their own sub views the syntax highlighting comes back.