Utility package.
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-utility",
.upToNextMajor(from: "1.0.0")
),
],
targets: [
.target(
name: "Sample",
dependencies: [
.product(name: "Utility", package: "swift-architecture-template-utility"),
]
),
.testTarget(
name: "SampleTests",
dependencies: ["Sample"]
),
]
)
import Utility
- Xcode 15.x or later
- iOS 13 or later
make
ormake create_doc
swiftformat .