The Hollywood Demos repo contains several demo apps showcasing how to build and integrate asynchronous app workflows using the Hollywood libraries.
There are 3 demos available (more coming soon):
- Shows how to build an async workflow that authenticates with GitHub.
- You'll need to update the
HackGitHubApp
with your GitHub client ID and GitHub client secret.
- You'll need to update the
-
Shows how to build an async workflow that:
- Uses a
ContextualActor
+AsyncWorkflowAction
to execute an async HTTP request usingURLSession
. - Presents the search results in a SwiftUI list view.
- There's also an example showing how to debounce the search text input.
- Uses a
-
Shows how to use a
ContextualActor
to asynchronously load album art for each search result.- Similar to the
AsyncImage
API
- Similar to the
- Shows how to build asynchronous workflows that generate progress using
Foundation/Progress
.- Demonstrates using the
Hollywood/ProgressReportingWorkflowAction
.
- Demonstrates using the
- Xcode 16/ Swift 6
- iOS 17+
- macOS 14+
Hollywood Demos is written and maintained by Brian Coyner.
Hollywood Demos is released under the MIT License. See LICENSE for details.