Swiftpack.co - W1W1-M/PackAPrefPane as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by W1W1-M.
W1W1-M/PackAPrefPane 2.1.0
Reusable & customizable SwiftUI settings sheet as a Swift package
⭐️ 11
🕓 2 years ago
iOS macOS
.package(url: "https://github.com/W1W1-M/PackAPrefPane.git", from: "2.1.0")

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

GitHub

link
Stars: 11
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

PackAPrefPane v2.1
2 years ago

Minor release

  • Code refactoring
  • Readme updated

Project assets:

  • Mind map in MindNode format
  • Logo design in AffinityDesigner format

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics