Design Details cover image

402: Margin Considered Harmful

Design Details

00:00

The Importance of Parent Control in Swift UI

The same principle has made its way into like it's baked into the system for Swift UI. The parent controls the spacing and padding of itself and how its children lay out within it. This is really important for designers because you're designing a component. It looks perfect in relation to one element, but what if that sidebar needs to appear somewhere else? All of a sudden you're going to be having to do all this contorting to make it appear correct in relation to other elements.

Play episode from 10:37
Transcript

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app