SectionedDiffStep

public enum SectionedDiffStep<Section, Value>: CustomDebugStringConvertible

These get returned from calls to Dwifft.diff(). They represent insertions or deletions that need to happen to transform one SectionedValues into another.

  • An insertion, at a given section and row.

    Declaration

    Swift

    case insert(Int, Int, Value)
  • An deletion, at a given section and row.

    Declaration

    Swift

    case delete(Int, Int, Value)
  • A section insertion, at a given section.

    Declaration

    Swift

    case sectionInsert(Int, Section)
  • A section deletion, at a given section.

    Declaration

    Swift

    case sectionDelete(Int, Section)
  • A section deletion, at a given section.

    Declaration

    Swift

    public var debugDescription: String