VStack’s Getting Lazy

Module 4 Lesson 8 introduces LazyVStack which, initially, doesn’t look much different to VStack, but I’m sure it will in the end. The lesson today is mostly cosmetic changes to the RecipeApp, and the challenge is to use LazyVStack to create a scrollable list of variable shaped rectangles.

The challenge, once again, relies on several elements we’ve not seen before – such as pow, CGFloat, UnitPoint, etc. I suppose we’re supposed to just know what these are to be able to use them.

Having previously unseen elements/code required for a challenge that should be reinforcing what the lesson taught us makes it unnecessarily confusing. I find that I’m instinctively opening up the “solution” to the challenge to see what these new elements are and how to use them before even starting to do the challenge for myself. I don’t mind looking up and researching new code/elements/items/etc, but if they’ve not been mentioned before it’s impossible to know what you’re supposed to be looking up and researching.

I would have preferred these new concepts to at least be touched upon during the lesson, but I guess this is a new way of learning that I’m just having a lot of difficulty adjusting to.