SwiftinitTeaUITeaUI.ContextMenuItem

init

TeaUI.ContextMenuItem.__allocating_init<A>(command: TeaUI.Command<A>, context: A, title: String, image: UIImage?, options: TeaUI.ContextMenuOptions, willExecute: (() -> ())?, preferredImageVisibility: UIMenuElementImageVisibility) -> TeaUI.ContextMenuItem

Structure

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

generic{}

A

param{}

  1. 0command:
    • arggenericParameterA
  2. 1context:
    genericParameterA
  3. 2title:
  4. 3image:
  5. 4options:
  6. 5willExecute:
    • argfunction() -> ()escaping
      • returnstuple()
  7. 6preferredImageVisibility: