BLOGS
Cheap & Easy Buttons for iOS Developers
The UIButton controls in iOS are very basic. Just a white rounded rectangle with a gray border and a label. They’re made to look similar to a single grouped UITableView cell. Because of this, it’s easy to end up with a boring iOS app without creating your own images for button. So what’s a developer to do?
My first bit of advice would be to work with a graphic designer. A graphic designer can help you create a style for you app and quickly create all the resources (including button images) you may need. Unfortunately, graphic designer don’t grow on trees and the good ones would need to be paid. For a professional quality app, you should really work with a graphic designer.
Sometimes though, you’re just looking for a quick pleasant looking button. Here are some great resources I use for creating button images.
Apple’s Dashcode has a pretty powerful button maker. There are a bunch of preset button templates that you can choose from but Dashcode’s real power is the button inspector which has a lot of styles and effects.
Cédric Luthi’s UIKit Artwork Extractor is an iOS Simulator app that can be used to download images from UIKit and various other iOS frameworks. You can search for images used the the framework like buttons and save these to your hard drive.
The UIArtwork Kit Extractor also has a tab that uses Apple’s private UIGlassButton class to create a real awesome looking glass button. Just don’t use the UIGlassButton code in your shipping app. Otherwise you will probably be rejected from the App Store.
House of Buttons and Dribbble are great resources for getting button inspirations. Just don’t steal their work. More importantly, Dribbble is a great resource for meeting graphic designers so you can make quality apps.
Finally, if you are an Acorn user, they have a pretty awesome tutorial including one on making buttons using vectors so you can resave different sizes. This is handy for dealing with retina display images.