Graphing with Custom Collection View Layouts
summary
Demonstrates building a custom UICollectionViewLayout subclass (no external libraries) that computes item positions with trigonometry to create a circular graph layout. Covers overriding layout hooks, caching attributes for performance, adding a small delegate protocol to supply angles/values per item, and handling hit testing, cell reuse and animations so the graph lays out and updates in a plain UICollectionView.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 15:03Custom layout basics
- 23:46Practical layout examples
- 31:50Advanced optimization
- 40:36Summary
related talks
20mCreating reusable container views
32mThinking outside the Box: Custom Compose layouts
40mComposing Creatively with Custom Layouts
27mCustom Views - The Definitive Guide
42mCreating a Custom Compose Layout, Step-by-Step
31mA Lighter Layout Abstraction With Contour
32mPragmatic Flexible UI
28mCustom shapes in Flutter: The secret to creating custom UI design
