Friday February 22, 2013

Why Is UITableView Like That?

Matthew Elton’s guest post on Mike Ash’s site builds UITableView from scratch and uncovers some of the reasons why cells are reused and why heterogeneous cell heights are so expensive. If you’re new to iOS, this is a great primer into some of the performance/complexity tradeoffs that are all over the place in Cocoa Touch.