W1W1-M / PackAPrefPane

Reusable & customizable SwiftUI settings sheet as a Swift package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

release code-size license swift-versions platforms

PackAPrefPane

Reusable & customizable SwiftUI settings sheet as a Swift package

Initially made @November 2021 SwiftUI Jam and rewarded with Swift Package Master achievement

PackAPrefPane Logo

Features

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

PackAPrefPane preview

Usage

  • Import PackAPrefPane Swift package
  • Setup a PrefPaneData typed var and customize it to your needs
  • Setup your nested appSettingsView within a SwiftUI Section 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

About

Reusable & customizable SwiftUI settings sheet as a Swift package

License:MIT License


Languages

Language:Swift 100.0%