Skip to content

SwiftUI library that makes it easy to create “about app” pages

License

Notifications You must be signed in to change notification settings

KC-2001MS/AboutUI

AboutUI

SwiftUI library to implement an “About the App” page like an Xcode app.

Description

Using this library, you can implement an “About the App” page in your own app, as implemented in the Xcode app. Since this library is made by SwiftUI, it can be implemented with a small number of lines. You can further customize it and add buttons.

Requirement

The following environment is required to use this library.

Twitter: @IroIro1234work

Language

Supported languages are as follows In regions with languages other than these, English should be displayed. If you would like to add more supported languages, please edit Localizable.xcstrings and do the translation work.

  • English
  • Japanese

Demo

To verify the operation of this library, we created a sample application in the library. Please refer to it.

Usage

This framework can be easily implemented by simply adding Scenes.

import SwiftUI
import AboutUI

@main
struct SampleApp: App {
    var body: some Scene {
        WindowGroup {
            ContentView()
        }

        About()
    }
}

import SwiftUI
import AboutUI

@main
struct SampleApp: App {
    var body: some Scene {
        WindowGroup {
            ContentView()
        }
        
        About {
            Button(action: {
                
            }) {
                Text("Info")
                .frame(maxWidth: .infinity)
            }
            .buttonStyle(.bordered)
        }
    }
}

Swift-DocC

Swift-DocC is currently being implemented.

Documentation

Install

Xcode is required to use this library. However, it is currently under development and cannot be installed. We will let you know as soon as possible.

Contribution

See CONTRIBUTING.md if you want to make a contribution.

Licence

AboutUI

Supporting

If you would like to make a donation to this project, please click here. The money you give will be used to improve my programming skills and maintain the application.
Buy Me A Coffee
Pay by PayPal

Author

Keisuke Chinone