From 754d926765227e416b318fe7ea70536475561211 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Fri, 10 Nov 2023 01:26:50 -0500 Subject: [PATCH] Categorized all remaining pages except numbered ones and also WindowProperties because I'm not sure what to do with that --- Package.resolved | 36 ------------------- README.md | 2 +- .../SwiftCrossUI.docc/SwiftCrossUI.md | 15 ++++++-- 3 files changed, 14 insertions(+), 39 deletions(-) diff --git a/Package.resolved b/Package.resolved index 56cbc7a7..a902322b 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,42 +1,6 @@ { "object": { "pins": [ - { - "package": "AsyncExtensions", - "repositoryURL": "https://github.com/lhoward/AsyncExtensions", - "state": { - "branch": "linux", - "revision": "2218eaa30dbdb39b063e92644fc28ed22e2cb942", - "version": null - } - }, - { - "package": "LVGL", - "repositoryURL": "https://github.com/PADL/LVGLSwift", - "state": { - "branch": null, - "revision": "19c19a942153b50d61486faf1d0d45daf79e7be5", - "version": null - } - }, - { - "package": "Qlift", - "repositoryURL": "https://github.com/Longhanks/qlift", - "state": { - "branch": null, - "revision": "ddab1f1ecc113ad4f8e05d2999c2734cdf706210", - "version": null - } - }, - { - "package": "swift-collections", - "repositoryURL": "https://github.com/apple/swift-collections.git", - "state": { - "branch": null, - "revision": "a902f1823a7ff3c9ab2fba0f992396b948eda307", - "version": "1.0.5" - } - }, { "package": "SwiftDocCPlugin", "repositoryURL": "https://github.com/apple/swift-docc-plugin", diff --git a/README.md b/README.md index 62ff1cf5..6e453463 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ sed -i '' 's/-I..includedir.//g' $(brew --prefix)/Library/Homebrew/os/mac/pkgcon ### Linux: Installing Gtk 4 and Clang -Install Gtk 4 and Clang using apt or the package manager of your choice. On most GNOME-based systems, Gtk should already be installed (although you should verify that it's Gtk 3). +Install Gtk 4 and Clang using apt or the package manager of your choice. On most GNOME-based systems, Gtk should already be installed (although you should verify that it's Gtk 4). ```sh sudo apt install libgtk-4-dev clang diff --git a/Sources/SwiftCrossUI/SwiftCrossUI.docc/SwiftCrossUI.md b/Sources/SwiftCrossUI/SwiftCrossUI.docc/SwiftCrossUI.md index cedf46b0..5bc9e322 100644 --- a/Sources/SwiftCrossUI/SwiftCrossUI.docc/SwiftCrossUI.md +++ b/Sources/SwiftCrossUI/SwiftCrossUI.docc/SwiftCrossUI.md @@ -15,7 +15,7 @@ SwiftCrossUI implements a simple API similar but not identical to SwiftUI, allow ### App Structure -The top level of your app +The top level of your app. - ``App`` - ``SceneBuilder`` @@ -23,9 +23,10 @@ The top level of your app ### Views -SwiftCrossUI has a wide variety of views available that you can combine to create complex UIs. +The wide variety of views available that you can combine to create complex UIs. - ``Button`` +- ``CellPosition`` - ``Color`` - ``ForEach`` - ``HStack`` @@ -44,10 +45,13 @@ SwiftCrossUI has a wide variety of views available that you can combine to creat - ``TextField`` - ``Toggle`` - ``View`` +- ``ViewContent`` - ``VStack`` ### States +Objects that are read from and/or written to as part of your app. + - ``AppState`` - ``Binding`` - ``Cancellable`` @@ -61,7 +65,14 @@ SwiftCrossUI has a wide variety of views available that you can combine to creat ### Implementation Details +The detailed components that are part of the low level of SwiftCrossUI. + - ``AnyViewGraphNode`` +- ``EitherView`` +- ``EmptyView`` +- ``EmptyViewGraphNodeChildren`` +- ``OptionalView`` +- ``TableBuilder`` - ``ViewGraph`` - ``ViewGraphNode`` - ``ViewGraphNodeChildren`` \ No newline at end of file