SwiftExtras is a Swift Package containing Extensions and Helpers for Swift which I use on a regular basis, or find useful.
- Swift 5.9+ (Xcode 15+)
- iOS 15, macOS 12+, tvOS 15+, watchOS 8+
dependencies: [
.package(url: "https://github.com/0xWDG/SwiftExtras.git", branch: "main"),
],
targets: [
.target(name: "MyTarget", dependencies: [
.product(name: "SwiftExtras", package: "SwiftExtras"),
]),
]
- In Xcode, open your project and navigate to File → Swift Packages → Add Package Dependency...
- Paste the repository URL (
https://github.com/0xWDG/SwiftExtras
) and click Next. - Click Finish.
🦋 @0xWDG 🐘 mastodon.social/@0xWDG 🐦 @0xWDG 🧵 @0xWDG 🌐 wesleydegroot.nl 🤖 Discord
Interested learning more about Swift? Check out my blog.