Рет қаралды 29,479
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: • How to use Spacer in S...
Last video: • VStack, HStack, and ZS...
🤙 WELCOME BACK 🤙
WEBSITE: www.swiftful-thinking.com
DISCORD: / discord
GITHUB: github.com/SwiftfulThinking/
SAY THANKS: www.buymeacoffee.com/nicksarno