Back to Browse

Adding Padding in SwiftUI View | Bootcamp #11

41.9K views
Feb 8, 2021
11:32

Padding is a SwiftUI developer's best friend. In this video we learn how to use the .padding() modifier to align and offset views in our iOS application. Padding is often used to add space between objects or to add a margin between an object and the edge of the device. We look at different ways to implement padding, including setting the padding to specific sides (vertical, horizontal, top, bottom, leading, trailing) and how to stack padding modifiers on top of each other! Next video: https://youtu.be/cL23Wx-zbJU Last video: https://youtu.be/pv-vbUEzimk 🤙 WELCOME BACK 🤙 WEBSITE: https://www.swiftful-thinking.com DISCORD: https://discord.gg/tSzJGx9RwE GITHUB: https://github.com/SwiftfulThinking/ SAY THANKS: https://www.buymeacoffee.com/nicksarno

Download

0 formats

No download links available.

Adding Padding in SwiftUI View | Bootcamp #11 | NatokHD