Tag

Wagner-Fischer

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
May 12, 2021 · Mobile Development

Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)

This article explains the concept of diff algorithms, demonstrates how to perform partial updates in iOS UICollectionView using insert, delete, reload and move APIs, introduces edit paths and the Wagner–Fischer dynamic‑programming algorithm, and provides Swift code examples for calculating optimal edit steps.

Batch UpdatesDiff AlgorithmSwift
0 likes · 12 min read
Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)