Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kc-2001ms/articleui
Library to create scrollable headings and contents views
https://github.com/kc-2001ms/articleui
gui ios macos swift swift-package-manager swift6 swiftui tvos ui visionos watchos
Last synced: 3 days ago
JSON representation
Library to create scrollable headings and contents views
- Host: GitHub
- URL: https://github.com/kc-2001ms/articleui
- Owner: KC-2001MS
- License: bsd-3-clause
- Created: 2024-10-01T12:52:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T05:18:35.000Z (17 days ago)
- Last Synced: 2024-12-20T02:09:22.042Z (3 days ago)
- Topics: gui, ios, macos, swift, swift-package-manager, swift6, swiftui, tvos, ui, visionos, watchos
- Language: Swift
- Homepage: https://iroiro.dev/ArticleUI/documentation/articleui/
- Size: 17.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# ArticleUI
ArticleUI is a framework that allows you to display headings and content with simple code.
## Description
With this library, you can display headings and content with simple SwiftUI code.
Depending on the platform, the design can be tailored to look beautiful.## Requirement
The following environment is required to use this library.
## 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.
```swift
import SwiftUI
import ArticleUIstruct ContentView: View {
var body: some View {
NavigationStack {
Article {
Section {
Text("Create easily organized article UI")
.foregroundStyle(.gray)
Text(
"Welcome to ArtcleUI. This package allows you to easily create views consisting of multiple headings and content like articles."
)
} header: {
Text("What is ArticleUI")
.bold()
.font(.largeTitle)
.foregroundStyle(Color.primary)
}
.articleSectionType(style: .title)
Section {
Text(
"Easily create a scrollable article UI; using Article and Section views, you can easily create views that include headings and content."
)
} header: {
Text("Build easily scrollable views")
}
Section {
Text(
"This package supports many iOS as well as macOS, visionOS and watchOS. tvOS is in the process of scrolling adjustment."
)
} header: {
Text("Support for many platforms")
}
Section {
Text(
"This package can be found in the repository at the following URL"
)
Link(
"ArticleUI",
destination: URL(
string: "https://github.com/KC-2001MS/ArticleUI"
)!
)
} header: {
Text("GitHub")
}
#if !os(tvOS) && !os(watchOS)
Section {
AppDescriptionContent(
iconName: "Japan Corp Info",
name: "Japan Corp Info",
id: "id6477782786"
) {
Text(
"""
The Japan Corp Info App is the best way to easily manage your Japan corporation information.
The app allows you to easily search gBizINFO data provided by METI, a ministry of the Japanese government.
The searched data can be saved in the device and can be viewed offline. You can also add memos and tags to each company, which can be used for corporate analysis.
"""
)
}
} header: {
Text("Using this package")
}
.articleRowSeparatorVisibility(true)
#endif
Section {
HStack(alignment: .top) {
LabeledContent {
VStack(alignment: .trailing) {
Link(
"GitHub",
destination: URL(
string: "https://github.com/KC-2001MS"
)!
)
Link(
"Mail",
destination: URL(
string: "mailto:[email protected]"
)!
)
Link(
"X",
destination: URL(
string: "https://twitter.com/IroIro1234work"
)!
)
Link(
"Mastodon",
destination: URL(
string: "https://mastodon.social/@Iroiro"
)!
)
Link(
"Bluesky",
destination: URL(
string: "https://bsky.app/profile/bluesky.iroiro.me"
)!
)
}
.frame(maxWidth: .infinity, alignment: .trailing)
} label: {
Text("Keisuke Chinone")
.bold()
.font(.headline)
}
}
.frame(maxWidth: .infinity)
} header: {
Text("Author")
} footer: {
Text(
"Information about the author who manages this repository."
)
}
}
.articleStyle(.grouped)
.navigationTitle("Wellcome to ArticleUI")
}
}
}
```
## Swift-DocC
Swift-DocC is currently being implemented.
[Documentation](https://kc-2001ms.github.io/ArticleUI/documentation/articleui)
## 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](https://github.com/KC-2001MS/ArticleUI/blob/main/CONTRIBUTING.md) if you want to make a contribution.## Licence
[ArticleUI](https://github.com/KC-2001MS/ArticleUI/blob/main/LICENSE)
## 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.
[Pay by PayPal](https://paypal.me/iroiroWork?country.x=JP&locale.x=ja_JP)## Author
[Keisuke Chinone](https://github.com/KC-2001MS)