fatbobman (东坡肘子)'s banner
fatbobman (东坡肘子)'s profile picture

fatbobman (东坡肘子)

@fatbobman8,636 subscribers

Swift & SwiftUI enthusiast | Tech blogger 📧 Newsletter: https://t.co/AX9xEwys1k

Shorts

SwiftUI List row height animation is broken by design — and most fixes just avoid the problem. This deep-dive shows how to actually solve it: custom Layout, state machine decoupling, and animatable spacing — all native SwiftUI, no UIKit.

SwiftUI List row height animation is broken by design — and most fixes just avoid the problem. This deep-dive shows how to actually solve it: custom Layout, state machine decoupling, and animatable spacing — all native SwiftUI, no UIKit.

12,881 просмотров

Using the id modifier on subviews throws a wrench into List's optimization. Instead of just rendering what's visible, it forces all subviews to load instantly. To avoid this, build data sources that align with the Identifiable protocol.

Using the id modifier on subviews throws a wrench into List's optimization. Instead of just rendering what's visible, it forces all subviews to load instantly. To avoid this, build data sources that align with the Identifiable protocol.

45,936 просмотров