Skip to content

david-swift/SettingsKit-macOS

Repository files navigation

SettingsKit Icon

SettingsKit

Documentation · GitHub

SettingsKit makes it easier to add a settings window to a SwiftUI app for macOS.

GitHub Banner

Table of Contents

Installation

Swift Package

  1. Open your Swift package in Xcode.
  2. Navigate to File > Add Packages.
  3. Paste this URL into the search field: https://github.com/david-swift/SettingsKit-macOS
  4. Click on Copy Dependency.
  5. Navigate to the Package.swift file.
  6. In the Package initializer, under dependencies, paste the dependency into the array.

 Xcode Project

  1. Open your Xcode project in Xcode.
  2. Navigate to File > Add Packages.
  3. Paste this URL into the search field: https://github.com/david-swift/SettingsKit-macOS
  4. Click on Add Package.

Usage

An example app project is available here. Browse the documentation here.

Thanks

Dependencies

Other Thanks

  • SwiftLint for checking whether code style conventions are violated
  • The programming language Swift