SwiftinitSwiftUISwiftUI.Tab

init

SwiftUI.Tab< where A: Hashable, B: SwiftUI.View, C: SwiftUI.View>.init< where C == SwiftUI.DefaultTabLabel>(_: Foundation.LocalizedStringResource, image: String, value: A, role: SwiftUI.TabRole?, content: () -> B) -> SwiftUI.Tab<A, B, SwiftUI.DefaultTabLabel>

Structure

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

generic{}

ABC

req{}

param{}

  1. 0_
  2. 1image:
  3. 2value:
    genericParameterA
  4. 3role:
  5. 4content:
    function() -> B
    • returnsgenericParameterB

result{}