Stop using Spacer in SwiftUI (and what to use instead)

Stop using Spacer in SwiftUI (and what to use instead) Mentoring 👉 https://rebeloper.com/mentoring In this video, we're going to be talking about the Spacer in SwiftUI and how to use it correctly. We'll also be discussing some alternatives to the Spacer, which will better suit your needs. If you're using the Spacer in your SwiftUI layouts, then you may be experiencing some issues. In this video, we'll be discussing the problems with the Spacer and how to properly use the alternatives to fix them. By the end of the video, you'll know how to properly use the Spacer and avoid common issues. 00:00 INTRO 00:30 SWIFTUI SPACER EXAMPLE 01:22 SWIFTUI LAYOUT EXPLAINED 02:40 SPACER WITH COLOR IN SWIFTUI 03:48 SPACER MINIMUM LENGTH 05:01 MENTORING 05:36 TWO SPACERS IN SWIFTUI 06:12 FRAME WITH ALIGNMENT 08:46 ALIGNMENT VIEW EXTENSION 13:00 WHERE TO GO NEXT → PLAYLIST: Learn SwiftUI 👉    • World's Shortest SwiftUI Course   DO YOU WANT TO ME TO WORK ON YOUR PROJECT? HIRE ME → https://rebeloper.com/hire-us/ TOOLS I RECOMMEND: → https://rebeloper.com/tools __________ Get in touch: → [email protected] SUBSCRIBE to weekly tips & tutorials for building iOS apps! → https://www.youtube.com/rebeloper/?su... GitHub: https://github.com/rebeloper/ Hire me: https://rebeloper.com/hire-us/ LinkedIn:   / rebeloper   My Blog: https://rebeloper.com/blog Follow me on Instagram:   / rebeloper   Twitter:   / rebeloper   ______ #rebeloper