A collection of useful extensions, utilities, and custom modifiers for SwiftUI to streamline and enhance your iOS, macOS, watchOS, and tvOS development.
- Custom Modifiers: Simplify complex UI elements with reusable custom modifiers.
- View Extensions: Add common functionality to SwiftUI views like rounded borders, shadows, and more.
- Utility Methods: Helper functions to make SwiftUI coding more efficient.
- Cross-Platform: Works across all platforms supported by SwiftUI.
- Well-Documented: Clear and concise code comments to explain functionality.
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding SwiftUI-Extensions as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/mjn2max/swiftui-extensions.git")
]
If you prefer not to use any of the aforementioned dependency managers, you can integrate SwiftUI-Extensions into your project manually.