PackAPrefPane
Reusable & customizable SwiftUI settings sheet as a Swift package
SwiftUI Jam and rewarded with Swift Package Master achievement
Initially made @November 2021Features
- Swift package
- 100% Swift
- 100% SwiftUI
- Simple design
- Lightweight
- Customizable
- Localizable
- Open source
- Documentation in DocC
- Target: iOS 14 >
Usage
- Import
PackAPrefPane
Swift package - Setup a
PrefPaneData
typed var and customize it to your needs - Setup your nested
appSettingsView
within a SwiftUISection
view - Make sure you have a @State var for showing sheets
settingsSheetPresented: Bool
- Use
PackAPrefPane
view 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