Skip to content

miyoshitakaaki/swift-architecture-template-ui

Repository files navigation

UI

UI Components

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-ui",
            .upToNextMajor(from: "1.0.0")
        ),
    ],
    targets: [
        .target(
            name: "Sample",
            dependencies: [
                .product(name: "UI", package: "swift-architecture-template-ui"),
            ]
        ),
        .testTarget(
            name: "SampleTests",
            dependencies: ["Sample"]
        ),
    ]
)

Usage

import UI

Requirements

  • Xcode 14.3.1 or later
  • iOS 14 or later

Documentation

Generate docs

  • make or make create_doc

Code Format

swiftformat .

Versioning

Semantic Versioning