Instance Propertyswift 6.0.1Swift
removals
The removals contained by this difference, from lowest offset to highest.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
let removals: [CollectionDifference<ChangeElement>.Change]
Other members in extension
Types
enum Change
A single change to a collection.
struct Index
The position of a collection difference.
Typealiases
Type members
init?<Changes>(Changes
) Creates a new collection difference from a collection of changes.
Instance members
var endIndex: CollectionDifference<ChangeElement>.Index
let insertions: [CollectionDifference<ChangeElement>.Change]
The insertions contained by this difference, from lowest offset to highest.
var startIndex: CollectionDifference<ChangeElement>.Index
subscript(CollectionDifference<ChangeElement>.Index
) -> CollectionDifference<ChangeElement>.Element func distance(from: CollectionDifference<ChangeElement>.Index, to: CollectionDifference<ChangeElement>.Index
) -> Int func formIndex(inout CollectionDifference<ChangeElement>.Index, offsetBy: Int
) func index(after: CollectionDifference<ChangeElement>.Index
) -> CollectionDifference<ChangeElement>.Index func index(before: CollectionDifference<ChangeElement>.Index
) -> CollectionDifference<ChangeElement>.Index func inverse(
) -> CollectionDifference<ChangeElement>