Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xleif/eui.num
E.num & ScreenData
https://github.com/0xleif/eui.num
screendata screendataui swift swiftui
Last synced: 7 days ago
JSON representation
E.num & ScreenData
- Host: GitHub
- URL: https://github.com/0xleif/eui.num
- Owner: 0xLeif
- License: mit
- Created: 2021-03-05T22:23:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-14T17:59:08.000Z (over 3 years ago)
- Last Synced: 2024-05-02T06:02:20.432Z (6 months ago)
- Topics: screendata, screendataui, swift, swiftui
- Language: Swift
- Homepage: https://serverdriven.github.io/ScreenData/
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EUI.num
E.num & ScreenData
## EUIAppScene
```swift
EUIAppScene(
app: EUIApp(
launchScreen: EUIScreen(
id: "launch",
title: "Launch Screen!",
backgroundColor: .green,
headerView: nil,
bodyView: .button(SomeButton(title: "Loading", actionID: "print"))
),
initialScreen: EUIScreen(
id: "initial",
title: "Initial Screen!",
backgroundColor: .green,
headerView: nil,
bodyView: .button(SomeButton(title: "Hello World!", actionID: "print")),
footerView: .label(
SomeLabel(
title: "Some Footer Label",
font: .title,
destination: Destination(type: .screen, toID: "another")
)
)
),
screens: [
EUIScreen(
id: "another",
title: "Another Screen!",
backgroundColor: .green,
bodyView: .button(SomeButton(title: "Hello World?"))
)
],
actions: [
EUIAction(id: "print", action: .complete(.void { print("Hello, World!")}))
],
fonts: EUIFonts(
largeTitle: nil,
title: .footnote,
headline: nil,
body: nil,
footnote: nil,
caption: nil
)
)
)
```## Example Project
[**EUI-POC**](https://github.com/0xLeif/EUI-POC)