Update data structs to classes. Update comments. Add environment objects.
PackAPrefPane
PrefPaneData
appSettingsView
Section
settingsSheetPresented: Bool
PackAPrefPane( settingsSheetPresented: $yourSheetBool, prefPaneData: yourPrefPaneData ) { YourNestedAppSettingsSectionView() }
Classes, Structs, Methods & Properties are documented using DocC and can be found through Xcode developer documentaiton
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.
If you would like to contribute I’m open, let’s chat !
PackAPrefPane is designed and coded by W1W1-M and released under MIT license
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
PackAPrefPane
Reusable & customizable SwiftUI settings sheet as a Swift package
Initially made @November 2021 SwiftUI Jam and rewarded with Swift Package Master achievement
Features
Usage
PackAPrefPane
Swift packagePrefPaneData
typed var and customize it to your needsappSettingsView
within a SwiftUISection
viewsettingsSheetPresented: Bool
PackAPrefPane
view as in the following example:Documentation
Classes, Structs, Methods & Properties are documented using DocC and can be found through Xcode developer documentaiton
Project assets in releases
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