SwifterSwiftUI is a collection of native SwiftUI extensions, with handy methods, syntactic sugar, and performance improvements for wide range of SwiftUI classes –over 500 in 1– for iOS, macOS, tvOS and watchOS.
Requirements
- iOS 13.0+ / tvOS 13.0+ / watchOS 13.0+ / macOS 10.10+ / Ubuntu 14.04+
- Swift 5.0+
Installation
CocoaPods
To integrate SwifterSwiftUI into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'SwifterSwiftUI'
Swift Package Manager
You can use The Swift Package Manager to install SwifterSwiftUI by adding the proper description to your Package.swift file:
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
targets: [],
dependencies: [
.package(url: "https://github.com/asam139/SwifterSwiftUI.git", from: "1.0.0")
]
)
Next, add SwifterSwiftUI to your targets dependencies like so:
.target(
name: "YOUR_TARGET_NAME",
dependencies: [
"SwifterSwiftUI",
]
),
Then run swift package update.
Manually
Add the SwifterSwiftUI project to your Xcode project
Example
Get involved
We want your feedback. Please refer to contributing guidelines before participating.
Thanks
Special thanks to:
- Hoping new contributors
Inspired by
License
SwifterSwiftUI is released under the MIT license. See LICENSE for more information.
