I thought I wouldn't learn anything in this video, because I already know spacer. I just figured out why my views were getting out of the small device screen! THANKS!
Honeslty amazing job explaining this. It's not complicated at all but I wonder how much harder it would've been if you didnt explain it wth colors and all. Great Videos and series
Hi Nick. Your tutorials are super useful. Though I have an issue with an images hstack. It also occupies the safe area of the screen. Any suggestions on that point? Thank's again 👍🏼
Thanks for the video. If I have created one Spacer with min length 0 and I do not want to redeclare it every time, is it OK to assign it to a var and just reuse it? `var spacer = Spacer(minLength: 0)` and just reuse that var? I tried it and it works fine, just wanted to know if this is a bad practice and I should create new instances every time. Thanks.
Hey Sermilion! I think it's a great idea to create a variable. When you upload your app and it compiles, it won't make a difference which method you use. Therefore, I recommend using whichever method is going to make your code look cleaner, more readable, and more scaleable (reusable).
Fantastic info. Is there a simple way to center an image in the middle of a view, then have text to the left of the button using spacers and stacks. I ended up using a geometry reader but is seems like over kill for this simple layout.
Love when you add a 'real world' example. Thank you!
Great idea to explain this with colors. I didn't even know we could add color to a spacer(). That makes it so clear. Thank you so much!
I have followed the SwiftUI official tutorial and still have no idea about how to write my own SwiftUI code. Your tutorials are much better than that!
Landmarks? I was sooooo lost.
I thought I wouldn't learn anything in this video, because I already know spacer.
I just figured out why my views were getting out of the small device screen!
THANKS!
Love the music, too!
What a great series!
So happy I started this series. Thanks for this!
Honeslty amazing job explaining this. It's not complicated at all but I wonder how much harder it would've been if you didnt explain it wth colors and all. Great Videos and series
Thanks Nick , your explanation is very very helpful for me or for us
Appreciate your hard work!! Thank you soooooo much!
Cleverly done 😁
Thank u bro...☺
Thank you!!!
Really clear
Thank you!
wow start
Hi Nick. Your tutorials are super useful.
Though I have an issue with an images hstack. It also occupies the safe area of the screen. Any suggestions on that point?
Thank's again 👍🏼
Try adding .clipped or a corner radius to the images. Otherwise someone in our discord could give u specific code help: discord.gg/hh7rx8Wbhn
Could you please do a tutorial series on how to use SwiftUI on Apple Watch?
That is a good idea!
Oh, It all makes since now, spacer will straight dynamic just like Padding did, right?
NICE
Thanks for the video. If I have created one Spacer with min length 0 and I do not want to redeclare it every time, is it OK to assign it to a var and just reuse it? `var spacer = Spacer(minLength: 0)` and just reuse that var? I tried it and it works fine, just wanted to know if this is a bad practice and I should create new instances every time. Thanks.
Hey Sermilion! I think it's a great idea to create a variable. When you upload your app and it compiles, it won't make a difference which method you use. Therefore, I recommend using whichever method is going to make your code look cleaner, more readable, and more scaleable (reusable).
FYI if you name your file spacer, then it will crash when you try to use a spacer
at time ~13min, is that a reason to set Spacer frame width to 10, when spacer pushes vertically?
Fantastic info. Is there a simple way to center an image in the middle of a view, then have text to the left of the button using spacers and stacks. I ended up using a geometry reader but is seems like over kill for this simple layout.
I've question for you, in swiftui does it have space evenly like Flutter?
ou know what i mean say?
Spacer(minLength: 0)
Hey Nick, great series. How do I get in touch with you ?