Stop using Spacer() in SwiftUI
Flo writes Code Flo writes Code
7.02K subscribers
9,001 views
0

 Published On May 24, 2023

Spacer is an easy solution to move Views around on the screen. And while in complex screens it makes sense to use this View, in other situations it makes the code a bit cluttered. Let's explore an alternative using the frame ViewModifier.

🚀 LaunchBuddy: https://apple.co/3iFcjjW
📚 Try CWC+: https://bit.ly/cwc_flo
☕️ Buy me a coffee: https://ko-fi.com/flowritescode

👋 Links: https://flowritesco.de
🛠 Forge: https://apple.co/3riG8MQ

Affiliate Links ❤

📕 SwiftUI & Combine Books: https://www.bigmountainstudio.com/a/t...
🔬 Get Reports about your apps: https://appfigures.com/r/5by3g
📊 Privacy focused analytics: https://dashboard.telemetrydeck.com/r...
💻 The most powerful mac app for developers: https://devutils.app/?ref=flo
☕️ Support me: https://ko-fi.com/flowritescode

If you have any video suggestions please feel free to let me know by a comment.
Get in contact via
Twitter:   / flowritescode  

show more

Share/Embed