snap-core

0.1.0

A collection of useful helper implementations, common extensions, convenience definitions and workarounds.
simonnickel/snap-core

What's New

Initial Release

2024-04-19T12:19:34Z

Initial release.

SnapCore

This package is part of the SNAP suite.

A collection of useful helper implementations and common extensions for Swift and SwiftUI.

Swift

Useful Swift extensions for convenience.

SwiftUI

Extensions of SwiftUI types, convenience Views and workaround implementations for annoying default bahaviour or bugs.

Highlights:

Conditional Modifier:

var shouldApplyBackground: Bool
Text("Hello, world!")
	.if(shouldApplyBackground) { view in
		view.background(Color.red)
	} else: {
		view.background(Color.clear)
	}

Others

Some generic types that might be useful for other packages.

Description

  • Swift Tools 5.10.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed Nov 06 2024 12:28:11 GMT-1000 (Hawaii-Aleutian Standard Time)