目录
目录README.md

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

关于
593.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号