This is the sample project for the UIButton with dynamic highlight blog post. This project shows how to dynamically create the image for the highlighted state of a custom UIButton. The code is written in Objective-C.