Design Details cover image

332: Creating layouts: Design vs Implementation

Design Details

00:00

How to Build a Z Stack in SwiftUI

There's no concept of a Z stack to use the SwiftUI term. It just makes it really hacky. You have to think laterally about how you're laying things out, which is not how it should work. If we say like auto layout is sort of like relatively positioned things, we're missing the escape hatch, which is that I can absolutely position something within a relatively positioned parent container. And lastly, they don't need to be canonized as components or symbols. They can just be a standalone group that is a one off on itself.

Transcript
Play full episode

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