SwiftinitTeaUITeaUI.MenuGroup

init

TeaUI.MenuGroup.init<A, B where A == B.CommandContext, B: TeaUI.MenuGroupOptionProviderType>(command: TeaUI.Command<A>, title: String, location: TeaUI.MenuGroup.Location, type: TeaUI.MenuGroup.GroupType, optionTitle: (A) -> String, optionKey: TeaUI.MenuItemOptionKey?, optionProvider: B) -> TeaUI.MenuGroup

Structure

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

generic{}

AB

req{}

param{}

  1. 0command:
    • arggenericParameterA
  2. 1title:
  3. 2location:
  4. 3type:
  5. 4optionTitle:
    function(A) -> Stringescaping
  6. 5optionKey:
  7. 6optionProvider:
    genericParameterB

result{}