Single

public struct Single<Content> : ViewList where Content : View

Single

  • Declaration

    Swift

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

    Declaration

    Swift

    @ViewBuilder
    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