UIImage+AutomaticCapInsets is intended to developers & UI designers. The trick is simple: developers now avoid the use of magic numbers when creating a resizable image with cap insets, and UI designers automatically put the cap insets in the filename.