Mac O’Clock
Published in

Mac O’Clock

Swift Programming

Ducks, Letters, and Lists: Keeping the Order of UICollectionView Cells after Multiple Insertions and Deletions

This is a complicated problem, so let’s start with an analogy.

We have a couple of ducks walking down a road. They are very proud of themselves, having lined themselves up by height. The tallest is in the front, and the…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrew Zheng

Andrew Zheng

WWDC21 Scholar. I like to read manga and write about Swift. Check out my app, Find — look for text in real life, with outrageous speed. getfind.app