Swiftpack.co - Package - elegantchaos/SwiftUIExtensions
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Test results Latest release swift 5.1 shield swift 5.2 shield swift 5.3 shield swift dev shield Platforms: macOS, iOS, tvOS

SwiftUIExtensions

A small grab bag of my extensions and utilities for SwiftUI.

Right now, the things in here are mostly focussed at allowing the same code to build for macOS/iOS/tvOS targets.

This involves adding some abstractions and shims to gloss over platform differences.

Scope and Stability

In general I prefer to have more focussed packages, so as things in here become more substantial I'll probably move them out into their own packages. As such, it's probably not a good idea to rely on this API being particularly stable.

It's always helpful to have somewhere to dump "the other stuff" however - this is that place for my miscellaneous SwiftUI code.

Github

link
Stars: 1

Releases

1.2 - 2021-01-20T14:50:55

Moved SheetController to standalone package. Added ListItemView and LinkedListItemView to generalise some aspects of hierarchical list views. Improved support for form styling.

1.1.1 - 2020-07-21T18:02:58

Added shim for opaqueSeparator, textContentType, keyboardType and autocapitalization on macOS.

1.1 - 2020-05-20T11:24:37

Added key controller. Added label alignment support. Use a cleaner approach for shims (via a shims proxy object).

1.0.6 - 2020-04-15T17:44:01

Added coding support for @Published.

1.0.5 - 2020-04-15T16:13:41

Added SheetController to simplify sheet management.

1.0.4 - 2020-02-21T17:37:49

Added a shim for contextMenu.

1.0.3 - 2020-02-19T14:28:54

Moved bindings helpers into their own package (elegantchaos/BindingsExtensions).