SwiftinitTeaUITeaUI.MenuGroup

init

TeaUI.MenuGroup.init<A, B where B: TeaUI.CommandStateType>(command: TeaUI.StateCommand<A, B>, title: String, symbolName: String?, location: TeaUI.MenuGroup.Location, type: TeaUI.MenuGroup.GroupType, state: TeaUI.MenuItemState, optionTitle: (A) -> String, optionKey: TeaUI.MenuItemOptionKey?, options: [A]) -> 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
    • arggenericParameterB
  2. 1title:
  3. 2symbolName:
  4. 3location:
  5. 4type:
  6. 5state:
  7. 6optionTitle:
    function(A) -> String
  8. 7optionKey:
  9. 8options:
    • arggenericParameterA

result{}