SwiftUIKit

4.2.0

SwiftUIKit is a Swift SDK that adds extra functionality to Swift & SwiftUI.
danielsaidi/SwiftUIKit

What's New

2024-03-16T10:51:51Z

This version refactors many views to take their styles & configs as environment values, instead of injecting them in the initializer.

✨ New features

  • CircularProgressBar now supports customizing animation.
  • FilePicker now supports providing a custom picker config.
  • ImagePicker now supports providing a custom picker config.
  • LinkText has new link style options, to define font weight.
  • ListButtonGroup is a new group view for groping many buttons.
  • ListButtonStyle has a new optional pressedOpacity init param.
  • ListCard now supports specifying a custom pressed scale animation.
  • String+Replace has a new options-based replace extension shorthand.

💡 Behavior changes

  • Color.standardListBackground has been renamed to listBackground.
  • FormInlineActionButtonStyle has been replaced by ListButtonGroup.
  • FormText has been renamed to ListActionRow, and is now style-based.
  • ListActionRow now supports a ListAction instead of a trailing view.

🗑️ Deprecations

  • DismissableView has been deprecated due to native SwiftUI support.
  • FormRowTitle has been deprecated due to now being used internally.
  • PresentationDetents has been deprecated due to native SwiftUI support.

SwiftUIKit Logo

Version Swift 5.9 Swift UI MIT License Twitter: @danielsaidi Mastodon: @danielsaidi@mastodon.social

About SwiftUIKit

SwiftUIKit is a Swift SDK that adds extra functionality to SwiftUI and Swift. It contains additional components, a lot of extensions to native types, and much more.

SwiftUIKit can kickstart your development and solves many tricky problems.

Installation

SwiftUIKit can be installed with the Swift Package Manager:

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

Getting Started

SwiftUIKit started as a small project, but has grown pretty huge over the years.

Due to its complexity, I have decided to remove the demo. Instead, have a look at the various namespaces and use the live previews to explore the components in the SDK.

I will therefore extract parts of this SDK into separate libraries, to be able to provide better documentation & help.

For more Swift & SwiftUI SDKs that I have created, please have a look at my open-source listing page.

Documentation

The online documentation has more information, code examples, etc.

Support my work

You can sponsor me on GitHub Sponsors or reach out for paid support, to help support my open-source projects.

Your support makes it possible for me to put more work into these projects and make them the best they can be.

Contact

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

License

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

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Apr 20 2024 01:57:16 GMT-0900 (Hawaii-Aleutian Daylight Time)