SwiftinitTeaUITeaUI.MenuGroup

init

TeaUI.MenuGroup.init<A, B where B: TeaUI.CommandStateType>(command: TeaUI.StateCommand<A, B>, title: 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. 2location:
  4. 3type:
  5. 4state:
  6. 5optionTitle:
    function(A) -> String
  7. 6optionKey:
  8. 7options:
    • arggenericParameterA

result{}