Graphics

How to Create a Dashboard Widget Bar Icon

When creating my Add-on Stats dashboard widget, I couldn't find an online tutorial for creating a widget bar icon. Apple's Designing Widgets page lists some basic information about the dimensions of the icon's contents and the size and orientation of the icon's drop shadow, but nothing about the dimensions of the icon itself or how to create the curved glass effect used by most other icons on the widget bar. After some trial and error, I developed the following tutorial for creating widget bar icons.