Swiftpack.co - danielsaidi/SwiftUIKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by danielsaidi.
danielsaidi/SwiftUIKit 3.1.0
SwiftUIKit contains additional functionality for SwiftUI.
⭐️ 800
🕓 3 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/danielsaidi/SwiftUIKit.git", from: "3.1.0")

SwiftUIKit

Version Swift UI Swift 5.6 MIT License Twitter: @danielsaidi

About SwiftUIKit

SwiftUIKit adds extra functionality to SwiftUI, like extensions to existing types and completely new views, pickers, utilities, services, etc.

You can explore the various sections in the documentation and the demo app.

IMPORTANT Moving to 3.0, many parts will be moved from this library to separate libraries. The old types will be left as deprecated until 3.0 and refer you to the new libraries.

Supported Platforms

SwiftUIKit supports iOS 13, macOS 11, tvOS 13 and watchOS 6.

Installation

SwiftUIKit can be installed with the Swift Package Manager:

https://github.com/danielsaidi/SwiftUIKit.git

or with CocoaPods:

pod DSSwiftUIKit

You can also clone the repository and build the library locally.

Documentation

The online documentation has articles, code examples etc. that let you overview the various parts of the library.

The online documentation is currently iOS-specific. To generate documentation for other platforms, open the package in Xcode, select a simulator then run Product/Build Documentation.

Demo Application

This project has a demo app that lets you explore the library on iOS and macOS. To try it out, just open and run Demo/Demo.xcodeproj.

Support

You can sponsor this project on GitHub Sponsors or get in touch for paid support.

Contact

Feel free to reach out if you have questions or if you want to contribute in any way:

License

SwiftUIKit is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 800
Last commit: 12 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

3 weeks ago

✨ New features

  • FormTextField is now available in iOS 13 as well.
  • LinearProgressBar is a new, style-based progress view.
  • ListSelectItem now supports providing a custom select indicator view.
  • ScrollViewHeader is a new header view with stretch and parallax support.
  • SwiftPreviewInspector and StandardSwiftPreviewInspector are new types for detecting SwiftUI preview mode.
  • UndimmedPresentationDetent is a new enum that is used to define undimmed detents with View+PresentationDetents.
  • View+PresentationDetents now supports specifying a largestUndimmed presentation detent.

💡 Behavior changes

  • FormActionButton now uses true as default value for the dimmed modifier.
  • FormActionButtonStyle now lets you style more parts of the form action button.
  • FormText no longers forces lowercase to its title.
  • SearchBar no longer adds a divider below the text field.
  • TextFieldClearButton now animates in the clear button.

🐛 Bug fixes

  • CircularProgressBar is no longer greedy and only allocates the space it needs.

🗑 Deprecations

  • The entire CollectionView namespace has been deprecated, since it's no longer needed on tvOS.

💥 Breaking Changes

  • CircularProgressBarStyle has been renamed to CircularProgressBar.Style.
  • ErrorAlertConvertible has a new errorButtonText property to avoid the hard-coded "OK".
  • ScanCodeGenerator has a cleaner function name for generating a scan code.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics