Action pattern
Generated on 1/8/2025
1 search
Action Pattern in TabletopKit
In the session titled "Meet TabletopKit for visionOS," actions are described as discrete operations applied to the game state, such as moving a piece to a new group or flipping a card. These actions are enqueued as they are proposed and applied one by one. For example, when a gesture ends, if there is a valid proposed parent, an action is appended to move a piece of equipment into the proposed parent equipment. This allows players to interact with game elements like moving pawns, drawing cards, and throwing dice, with full control over the game state changes.
For more details, you can refer to the session Meet TabletopKit for visionOS (10:37).
Sessions Mentioned
- Meet TabletopKit for visionOS
- Compose interactive 3D content in Reality Composer Pro
- SwiftUI essentials
- What’s new in watchOS 11
- Bring your app’s core features to users with App Intents
- Extend your app’s controls across the system
SwiftUI essentials
Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.
Bring your app’s core features to users with App Intents
Learn the principles of the App Intents framework, like intents, entities, and queries, and how you can harness them to expose your app’s most important functionality right where people need it most. Find out how to build deep integration between your app and the many system features built on top of App Intents, including Siri, controls and widgets, Apple Pencil, Shortcuts, the Action button, and more. Get tips on how to build your App Intents integrations efficiently to create the best experiences in every surface while still sharing code and core functionality.
Compose interactive 3D content in Reality Composer Pro
Discover how the Timeline view in Reality Composer Pro can bring your 3D content to life. Learn how to create an animated story in which characters and objects interact with each other and the world around them using inverse kinematics, blend shapes, and skeletal poses. We’ll also show you how to use built-in and custom actions, sequence your actions, apply triggers, and implement natural movements.
Extend your app’s controls across the system
Bring your app’s controls to Control Center, the Lock Screen, and beyond. Learn how you can use WidgetKit to extend your app’s controls to the system experience. We’ll cover how you can to build a control, tailor its appearance, and make it configurable.
Meet TabletopKit for visionOS
Build a board game for visionOS from scratch using TabletopKit. We’ll show you how to set up your game, add powerful rendering using RealityKit, and enable multiplayer using spatial Personas in FaceTime with only a few extra lines of code.
What’s new in watchOS 11
Explore new opportunities on Apple Watch, including bringing Double Tap support to your watchOS app, making your Smart Stack widgets even more relevant and interactive, and displaying your iOS Live Activities in the Smart Stack.