UI Components
Swift Package Manager is supported.
add package into Package Dependencies
let package = Package(
name: "Sample",
platforms: [
.iOS(.v14),
],
products: [
.library(
name: "Sample",
targets: ["Sample"]
),
],
dependencies: [
.package(
url: "https://github.com/miyoshitakaaki/swift-architecture-template-ui",
.upToNextMajor(from: "1.0.0")
),
],
targets: [
.target(
name: "Sample",
dependencies: [
.product(name: "UI", package: "swift-architecture-template-ui"),
]
),
.testTarget(
name: "SampleTests",
dependencies: ["Sample"]
),
]
)
import UI
- Xcode 14.3.1 or later
- iOS 14 or later
make
ormake create_doc
swiftformat .