Skip to content

miyoshitakaaki/swift-architecture-template-utility

Repository files navigation

Utility

Utility package.

Intoroduction

Swift Package Manager is supported.

Into Project

add package into Package Dependencies

Into Package

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"]
        ),
    ]
)

Usage

import Utility

Requirements

  • Xcode 15.x or later
  • iOS 13 or later

Documentation

Generate Docs

  • make or make create_doc

Code Format

swiftformat .

Versioning

Semantic Versioning