github/twui — pull request #6 by atebits (2012-06-19 13:05:31+00:00)
Title: First stab at retina-aware TUIImage.

Make TUIImage/imageNamed: lazy, will reload different variants if needed when drawing based on the current scale factor of the destination context. Track the scale factor of the current destination context with a thread-specific global (so drawsInBackground works), set in TUIView/displayLayer.