transformingChanges(_:)
Create a new ordered collection difference by mapping over this difference’s members, processing the change objects with the block provided.
Declaration
func transformingChanges(_ block: (NSOrderedCollectionChange) -> NSOrderedCollectionChange) -> CollectionDifference<Any>Parameters
- block:
A block receives an ordered collection change and returns an updated change.
Return Value
A new ordered collection difference.