Afterburner
aims to build UIKit components in SwiftUI.
Built for performance and backwards compatibility using Engine
- Deployment target: iOS 13.0, macOS 10.15, tvOS 13.0, or watchOS 6.0
- Xcode 15+
Select File
-> Swift Packages
-> Add Package Dependency
and enter https://github.com/nathantannar4/Afterburner
.
You can add Afterburner
as a package dependency in your Package.swift
file:
let package = Package(
//...
dependencies: [
.package(url: "https://github.com/nathantannar4/Afterburner"),
],
targets: [
.target(
name: "YourPackageTarget",
dependencies: [
.product(name: "Afterburner", package: "Afterburner"),
],
//...
),
//...
],
//...
)
Engine includes a Swift macro, which requires user validation to enable or the build will fail. When configuring your CI, pass the flag -skipMacroValidation
to xcodebuild
to fix this.