First of all, thanks for sharing this content @Mike. Second, I did the same thing on my project, but there I am using a List, not a ScrollView, and my button actually are two buttons inside a VStack. I am using a GeometryReader on this two buttons VStack but when I add the variable to the List .padding modifier my buttons VStack creates a weird white stripe behind, starting in the middle of the buttons VStack and going to the bottom. Have you got this behavior?
You can create a Gist on GitHub or a regular repo. If you don't want to make it public, you can just add me to this repo. My GitHub handle is: "mikina."
Super useful! Thanks for sharing the tip. I think I'm going to copy your extension and then perhaps use a @Binding instead of having the closure.
Very neatly done. I like the way you tidied it up in that modifier
Thanks Mark!
First of all, thanks for sharing this content @Mike.
Second, I did the same thing on my project, but there I am using a List, not a ScrollView, and my button actually are two buttons inside a VStack. I am using a GeometryReader on this two buttons VStack but when I add the variable to the List .padding modifier my buttons VStack creates a weird white stripe behind, starting in the middle of the buttons VStack and going to the bottom. Have you got this behavior?
Not sure if I got this 🤔 Could you share a sample code?
@@mikemikina Yes! How can share with you?
You can create a Gist on GitHub or a regular repo. If you don't want to make it public, you can just add me to this repo. My GitHub handle is: "mikina."
@@mikemikina It is the file pinned on my home page of GitHub. Sao Judas Tadeu Americana/Views/PrayersViews/NovenaView.swift, that's the file
thanks!!!
🔥