Slide 16
Slide 16 text
CollectionDifference
আͱૠೖͷ2ύλʔϯͷ
EnumͰߏ͞Ε͍ͯΔ
@available(swift, introduced: 5.1)
public struct CollectionDifference {
public enum Change {
case insert(offset: Int,
element: ChangeElement,
associatedWith: Int?)
case remove(offset: Int,
element: ChangeElement,
associatedWith: Int?)
}
...
}
Ordered Collection Diffing