Installation

Add the published FreakUI package with Swift Package Manager.

FreakUI is installed directly from its public GitHub repository. No access form, ZIP download, binary framework, or additional release asset is required.

Add FreakUI in Xcode

1
Open package dependencies

In your app project, choose File → Add Package Dependencies.

2
Enter the repository URL

Paste https://github.com/valzubkov/FreakUI.git.

3
Pin the public beta

Select the exact 0.5.0-beta version. Exact pinning is recommended while the API evolves before 1.0.0.

4
Add the product

Add the FreakUI library product to each application target that imports it.

Add FreakUI to another Swift package

Add FreakUI to the package-level dependencies array:

Package.swift
dependencies: [
    .package(
        url: "https://github.com/valzubkov/FreakUI.git",
        exact: "0.5.0-beta"
    )
]

Then add the product to every target that imports FreakUI:

Package.swift
.target(
    name: "YourApp",
    dependencies: [
        .product(name: "FreakUI", package: "FreakUI")
    ]
)

Import the module

ContentView.swift
import FreakUI
import SwiftUI

Verify resolution

Xcode should record the remote package URL, exact 0.5.0-beta version, and tagged revision. If the resolver selects a branch or an alpha tag, remove that rule and add the exact beta version again.

Migrating from alpha:

0.5.0-beta has no compatibility layer for the previous alpha API. Follow the migration section in the 0.5.0-beta changelog before changing an existing package requirement.

Continue with theme configuration.