Button styles, border shapes, and control sizes in SwiftUI on iOS 15 | Bootcamp #57

Sdílet
Vložit
  • čas přidán 6. 12. 2021
  • Let's take a look at a few more view modifiers Apple has provided us in iOS 15 for SwiftUI. Specifically, we are looking at modifiers that help us to size and shape Buttons in our SwiftUI applications. In this video we will learn how to use new .buttonStyle to add pre-made backgrounds to our buttons. We will also learn how to use the .buttonBorderShape to control the shape and corner radius of the button. Lastly, we will look at the new .controlSize modifier which can help us automatically resize our Buttons to a pre-set sizes!
    🤙 WELCOME BACK 🤙
    WEBSITE: www.swiftful-thinking.com
    DISCORD: / discord
    GITHUB: github.com/SwiftfulThinking/
    SAY THANKS: www.buymeacoffee.com/nicksarno

Komentáře • 13