SettingsKit-macOS
SettingsKit-macOS copied to clipboard
Add a settings window to a SwiftUI macOS app
SettingsKit
SettingsKit makes it easier to add a settings window to a SwiftUI app for macOS.
Table of Contents
- Installation
- Usage
- Thanks
Installation
Swift Package
- Open your Swift package in Xcode.
- Navigate to
File > Add Packages
. - Paste this URL into the search field:
https://github.com/david-swift/SettingsKit-macOS
- Click on
Copy Dependency
. - Navigate to the
Package.swift
file. - In the
Package
initializer, underdependencies
, paste the dependency into the array.
Xcode Project
- Open your Xcode project in Xcode.
- Navigate to
File > Add Packages
. - Paste this URL into the search field:
https://github.com/david-swift/SettingsKit-macOS
- Click on
Add Package
.
Usage
An example app project is available here. Browse the documentation here.
Thanks
Dependencies
- SFSafeSymbols licensed under the MIT license
- SwiftLintPlugin licensed under the MIT license
- ColibriComponents licensed under the MIT license