SwiftUI library to implement an “About the App” page like an Xcode app.
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.
The following environment is required to use this library.
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
To verify the operation of this library, we created a sample application in the library. Please refer to it.
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 is currently being implemented.
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.
See CONTRIBUTING.md if you want to make a contribution.
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.
Pay by PayPal