PackAPrefPane
Reusable & customizable SwiftUI settings sheet as a Swift package
Install / Use
/learn @W1W1-M/PackAPrefPaneREADME
PackAPrefPane
Reusable & customizable SwiftUI settings sheet as a Swift package
Initially made @November 2021 SwiftUI Jam and rewarded with Swift Package Master achievement

Features
- Swift package
- 100% Swift
- 100% SwiftUI
- Simple design
- Lightweight
- Customizable
- Localizable
- Open source
- Documentation in DocC
- Target: iOS 14 >

Usage
- Import
PackAPrefPaneSwift package - Setup a
PrefPaneDatatyped var and customize it to your needs - Setup your nested
appSettingsViewwithin a SwiftUISectionview - Make sure you have a @State var for showing sheets
settingsSheetPresented: Bool - Use
PackAPrefPaneview as in the following example:
PackAPrefPane(
settingsSheetPresented: $yourSheetBool,
prefPaneData: yourPrefPaneData
) {
YourNestedAppSettingsSectionView()
}
Documentation
Classes, Structs, Methods & Properties are documented using DocC and can be found through Xcode developer documentaiton
Project assets in releases
- Mind map in MindNode format
- Logo design in AffinityDesigner format
Apps using PackAPrefPane
If you use PackAPrefPane in your app I would really like to know. Please get in touch and make a PR to update the above list.
Contributing
If you would like to contribute I'm open, let's chat !
License
PackAPrefPane is designed and coded by W1W1-M and released under MIT license
