-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/macro #22
Feature/macro #22
Conversation
…ntext-from-builder # Conflicts: # Example/Example App/StreamDeckLayoutView.swift # Sources/StreamDeckKit/Views/StreamDeckLayout.swift # Sources/StreamDeckSimulator/Views/StreamDeckSimulatorView.swift # Tests/StreamDeckSDKTests/Helper/TestViews.swift
…builder' into feature/macro # Conflicts: # Package.swift # Tests/StreamDeckSDKTests/Helper/TestViews.swift
# Conflicts: # Sources/StreamDeckKit/Layout/StreamDeckViewContext.swift # Tests/StreamDeckSDKTests/Helper/TestViews.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works fine for me. A bit more documentation is IMHO still needed.
@@ -32,12 +44,6 @@ public protocol StreamDeckView: View { | |||
@MainActor @ViewBuilder var streamDeckBody: Self.Content { get } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add documentation for streamDeckBody
and context
properties.
…ate additional view properties
…ort the macro in its tests
…acro and also generate docs
* Documentation for Stream Deck Layout * Move StreamDeckSession.setUp into PreviewView of Simulator * Renamings * Add two examples: Stateless and Stateful * Add ExampleDataModel to share app state with stream deck layout * Code structure * Extend EnvironmentValues for ExampleDataModel, and In Simulator.PreviewView render only the view without the using the session * Add an example for an animated StreamDeckLayout * Renaming * Simplify background colors of dial area * Update layout docs * Update some code comments --------- Co-authored-by: Christiane Göhring <[email protected]> Co-authored-by: Roman Schlagowsky <[email protected]> Co-authored-by: Alexander Jentz <[email protected]>
No description provided.