This package is part of the SNAP suite.
A collection of useful helper implementations and common extensions for Swift and SwiftUI.
Useful Swift extensions for convenience.
Extensions of SwiftUI types, convenience Views and workaround implementations for annoying default bahaviour or bugs.
Conditional Modifier:
var shouldApplyBackground: Bool
Text("Hello, world!")
.if(shouldApplyBackground) { view in
view.background(Color.red)
} else: {
view.background(Color.clear)
}
Some generic types that might be useful for other packages.