Paolo Arduin

1pod

LWTableViewCell

Achieving a perfect smoothness is possible only if CPU and GPU loading is balanced. LWTableViewCell clears the subviews' stack, and keeps one subview only, the one where we're going to draw most of the content in. So, force yourself to draw any static image and text using CoreGraphics, but use a UIImageView if you need an asynchronous image loading. Avoid gradients, avoid blendings, and keep all pixel-perfect rounding coordinates and dimensions with ceil and floor, or using the .integral attribute of CGRect. Have fun!

License: MIT

  • Swift