How to Use Alignments in SwiftUI — Container Expansion using Alignments

This is the third part in the ‘SwiftUI Layout System’ series and the fourth part in the subseries about ‘How to Use Alignments in SwiftUI’. To keep things simple we haven’t caused the tallest element of the container, in this case the Stack, to be repositioned in the past parts, but we will change that in this part and see what happens when we do.

--

--

--

macOS/iPadOS/iOS/WatchOS/realityOS developer and SwiftUI enthousiast. “Stay Hungry, Stay Foolish!” — Steve Jobs

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

ListView with Flutter (Part 1)

Cluster overprovisioning in Kubernetes

How much tech knowledge is required for being a PM ?

How to Deploy an App to Heroku with .env Keys and Tokens

GitHub for Beginners

Flutter is no longer a cross-platform framework

Axure Plugin for Jira, Confluence, Microsoft Teams and Slack

Reduce, Reuse, improve reusability with Functional Programming

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mark van Wijnen

Mark van Wijnen

macOS/iPadOS/iOS/WatchOS/realityOS developer and SwiftUI enthousiast. “Stay Hungry, Stay Foolish!” — Steve Jobs

More from Medium

How to use UIKit transitions in SwiftUI

UIKit - SwiftUI Navigation Tutorial

SwiftUI not supported adjusting picker wheel value

Using SwiftUI combined with Storyboard