ConditionalSingle

public struct ConditionalSingle<TrueContent, FalseContent> : ViewList where TrueContent : View, FalseContent : View

Undocumented

  • Declaration

    Swift

    public var count: Int { get }
  • the View at Index in the ViewList

    Declaration

    Swift

    public func view(at index: Int) -> some View
  • is first item a text in the ViewList

    Declaration

    Swift

    public func isFirstItemAText() -> Bool
  • Declaration

    Swift

    public func numberOfIconsToShow() -> Int