Skip to content

brampf/SUEModifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUEModifier

SwiftUI View modifiers

MIT License Swift 5.3

SUE stands for SwiftUI Extras and is a collection of small SwiftUI libraries for various recurring use cases

Gallery

ConditionalOverlay

Rectangle().foregroundColor(.gray)
    .overlay($hidden, Text("Hej Hej").overlayStyle("Goddåg"))

ConditionalOverlay

ObservingOverlay

Rectangle().foregroundColor(.gray)
    .overlay(Demo(), keyPath: \Demo.test)

ObservingOverlay

OverlayStyle

Rectangle().foregroundColor(.gray)
    .overlay(Text("Bonjour!").overlayStyle("Français"))

OverlayStyle

Hideable

HStack{
    Text("Hello").hide($hidden1)
    Text(" World").hide($hidden2)
}

Hideable

License

MIT license; see LICENSE. (c) 2020

About

SwiftUI View modifiers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages