Recently I mentioned a tool that goes through your Xcode projects and lists any unused image files.
PNG images are usually the culprit when it comes to a large app bundle size you might try using JPEGs. Unfortunately JPG files don’t contain transparencies.
Here’s a library and tool from Nick Lockwood that aims to help solve this problem called JPNG. JPNG aims to provide the file size benefits of a JPEG with the alpha channel of a PNG. JPNG does this by using a JPEG to store the image’s RGB data, with a PNG alpha channel.
The library even performs some method swizzling so you can load JPNG files using UIImage initWithContentsOfFile, initWithData, and imageNamed functions so you can get it working with minimal code changes.
The tool provides a simple command line syntax for converting your PNG images to JPNG.
You can find the JPNG library and tool on Github here.
Another tool for squeezing your app’s down to the smallest possible size.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.