Tagged articles
3 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Jan 3, 2024 · Mobile Development

UICollectionViewCompositionalLayout Complete Guide

This guide explains how iOS 13’s UICollectionViewCompositionalLayout, together with Diffable Data Source, lets developers define items, groups, and sections using flexible size specifications, nested groups, orthogonal scrolling, custom and supplementary views, and background decorations to build complex, dynamic collection view layouts.

Compositional LayoutDiffable Data SourceMobile Development
0 likes · 26 min read
UICollectionViewCompositionalLayout Complete Guide
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 UpdatesSwiftUICollectionView
0 likes · 12 min read
Understanding Diff Algorithms and Batch Updates in UICollectionView (iOS)
Baixing.com Technical Team
Baixing.com Technical Team
Dec 18, 2017 · Mobile Development

Simplify Complex UICollectionView Layouts with IGListKit

This article explains how IGListKit can replace cumbersome UICollectionView data‑source code with a data‑driven framework, showing step‑by‑step Swift examples for building a two‑column video grid, handling ads, animations, diffing, and advanced section controllers.

IGListKitListAdapterSwift
0 likes · 17 min read
Simplify Complex UICollectionView Layouts with IGListKit