Skip to content

ryanlintott/LayoutThatFits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

LayoutThatFits

ViewThatFits is awesome but I didn't like the duplicate content and the lack of animation so I created LayoutThatFits which takes a single closure for content and an array of "any Layout"

The example shows an HStack and VStack but it can take any other custom layout.

2022-06-09 21 18 22

My tweet about it.

The original Gist

Submission for Dub Dub Series

About

A SwiftUI Layout that chooses the Layout that fits.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages