Marcel Müller of AtomTon has written a comprehensive library for creating Heads Up Display effects. From the readme in the project, Marcel explains: “I once needed a HUD for one of my iPhone apps, but was unhappy with the currently available libraries on the internet. Therefore, I decided to create my own library. I’ve released it as a static library last year, but a lot of people wanted to see the source, so here it is.” Thanks Marcel!
There are a number of nice features in this library including auto-rotation, auto-hide, queueing of multiple HUDs, and sound effects. I recommend you spend some time looking over Marcel’s code, there are plenty of interesting things to check out, from Core Animation (and completion blocks) to CALayer objects.
The screenshots below shows an auto-updating and auto-hiding HUD:
The project can be downloaded from github: ATMHud.
Open Source Recommendations ?
Have you written or worked with iOS or Cocoa open source that you think others would find interesting, send me a note.