If you are designer doing iOS interfaces and want to help your developer, these guidelines are for you.
- Slice both a regular and retina version.
- Retina files are postfixed with “@2x.png” (for “two times”) e.g. “account.png” vs “email@example.com”
- Retina files must be placed in same folder as its non-retina brother
- Retina dimensions must be dividable with 2 e.g. 25×13 is not a valid retina dimension but 26×14 is fine
- All files should be of type PNG (24bit if necessary)
- Background files might be in JPG too (saves on file size)
- Use transparency if needed – no background color
- All files must be lower-cased
- All files must not include any spaces
- Separate filenames with dashes if necessary e.g. “black-box.png”
- Group files in folders if needed e.g. “icons/account.png”, “backgrounds/washed.png”
- Keep folder structure after delivery to developer and update files in that structure if needed
- Animations must be postfixed with a number e.g. “anim_0.png”, “anim_1.png”, “anim2.png”, etc. (retina would be “firstname.lastname@example.org”, “email@example.com”, etc)
- Inform developer of any special masking necessary
- Slice each image with zero margin/padding i.e. keep to size of image
An additional tip for Mac users. Download Slicy from macrabbit. It’s an incredible cool tool which slices your PSDs automatically based on your layer naming.
Let me know in the comments if you have more suggestions I need to put on the list.