SwiftclassAgentCanvasUI
@Observable class AgentCanvasUI.ViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 4
Header
@Observation.Observable class ViewModel { let transformer: AgentCanvasUI.SnippetModelDataTransformer // synthesized from the storage `_cachedResult` that @Observable generated; the property's own accessors are stripped var cachedResult: (view: SnippetUI.PluginView, context: SnippetUI.Context)? // synthesized from the storage `_cachedSnippetHostingViewModel` that @Observable generated; the property's own accessors are stripped var cachedSnippetHostingViewModel: AgentCanvasUI.SnippetHostingViewModel? }