Skip to content

john-mueller/SwiftUI-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI-Examples

Compatible with Swift 5.1 Tested with Xcode 11.2 Tested with iOS 13.2

This is a personal repo for me to post useful or interesting SwiftUI views and extensions I come up with. I'll try to keep things up to date as Swift and SwiftUI continue to evolve, but no promises on timeliness.

I've added a sample Xcode project, but each example is contained within its own folder, and will work if you drag only the contained files into your own project.

Contents

An experimental view to try "flowing" views into multiple rows based on the length of the individual views. Uses GeometryReader and PreferenceKey.

This is, as it sounds, a vertical version of Slider. I made it because I ran into lots of problems trying to rotate SwiftUI's built-in Slider view. It should be feature-equivalent to Slider, with the exception of labels.

About

Various things built with SwiftUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages