SwiftclassAgentCanvasUI

@Observable class AgentCanvasUI.ViewModel

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 4

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _cachedResult: (view: SnippetUI.PluginView, context: SnippetUI.Context)?
  3. fieldvar _cachedSnippetHostingViewModel: AgentCanvasUI.SnippetHostingViewModel?
  4. fieldlet transformer: AgentCanvasUI.SnippetModelDataTransformer+0x10
@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?
}