Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)