Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SwiftUIKit adds extra functionality to
SwiftUI, like extensions to existing types and completely new views, pickers, utilites, services etc.
SwiftUIKit is divided into these areas:
You can explore the various sections in the demo app.
This project contains a demo app that lets you explore
SwiftUIKit through interactive demos.
The demo app provides an intuitive way to explore the library. Together with the extensive documentation and SwiftUI previews, I hope you'll find it easy to understand how the various parts of the library works.
To run the demo app, just open and run the
Demo/Demo.xcodeproj project. It's a universal app project, but the
macOS app is currenty not working that well.
Swift Package Manager
Note that you have to use
import DSSwiftUIKit when you use CocoaPods. The name
SwiftUIKit was (not surprisingly) already taken.
Feel free to reach out if you have questions or if you want to contribute in any way:
SwiftUIKit is available under the MIT license. See LICENSE file for more info.
|Last commit: 2 weeks ago|
You may find interesting
- The demo app now compiles for macOS and runs on M1 machines.
- More views are available for tvOS and watchOS.
SimplePickerviews have been rewritten to great extent and can now be customized across platforms.
SimplePickerScreenpreview shows how the picker can transform for various platforms.
- There is a new
SimplePickerTvScreenthat sets up a simple picker for being used on tvOS.
FullHeightViewtakes up all available horizontal space and puts its content in the center.
FullWidthViewtakes up all available vertical space and puts its content in the center.
FullSizeViewtakes up all available space and puts its content in the center.
TextFieldClearButtonis a modifier that adds a trailing clear btton within a text view.
Color+ClearInteractablelets you apply a clear but interactable backround color to make the entire area of a button interactable.
TextFieldClearButtonto the textfield.
View+Keyboardlets any view dismiss the keyboard.
SimplePickerchanges are breaking.