SwiftinitDesignLibraryDesignLibrary.SegmentedControl

init

DesignLibrary.SegmentedControl.init<A where A1: SwiftUI.View>(interactionState: DesignLibrary.InteractionState, morphology: DesignLibrary.SegmentedControlMorphology, distribution: DesignLibrary.SegmentDistribution, trackingMode: DesignLibrary.SegmentTrackingMode, trackingPoint: CGPoint?, selectionViewModifier: (SwiftUI.AnyView, DesignLibrary.SegmentedControlMorphology) -> A1, content: () -> A) -> DesignLibrary.SegmentedControl<A>

Structure

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

generic{}

AA1

req{}

param{}

  1. 0interactionState:
  2. 1morphology:
  3. 2distribution:
  4. 3trackingMode:
  5. 4trackingPoint:
  6. 5selectionViewModifier:
    function(SwiftUI.AnyView, DesignLibrary.SegmentedControlMorphology) -> A1escaping
  7. 6content:
    function() -> A
    • returnsgenericParameterA

result{}

  • arggenericParameterA