SequenceGenerator

public protocol SequenceGenerator

Represents a Sequence generator that can return a value based on given index. Besides other possible uses, this is used in Lists for generation of bullets/numbering.

  • Returns a value representing the given index.

    Declaration

    Swift

    func value(at index: Int) -> ListLineMarker

    Parameters

    index

    Index for which the value is being fetched.