This Week's Sponsor:

Kolide

Ensure that if a device isn’t secure it can’t access your apps.  It’s Device Trust for Okta.


Crunch: Extract & Preview Resources of iOS Apps

Those who design and develop for iOS know how useful it can be to take a peek inside an application’s resources and see how other developers and designers chose to structure an app. This can be done by locating an app’s .ipa file in the OS X Finder, select the “Show Package Contents” menu, and start exploring the contents of what would otherwise be a normally synced app on your iPhone or iPad. Folks who do this on a regular basis also know that, by default, OS X doesn’t “normalize” iOS .png images – application images are optimized so iOS can load them faster, but their format isn’t entirely compatible with the Mac’s Finder, Preview, or QuickLook. Crunch, a new app by Pragmatic Code, aims at solving this issue with .png images by providing a beautifully streamlined interface to take a look inside an app when needed.

Obviously, the contents of an application are subject to copyright, and upon first launch Crunch will warn you that you shouldn’t share or copy images from someone else. Taking a look, however, is not a crime, and Crunch absolutely delivers on its promise to enhance the way you can explore an app’s resources on your Mac. I believe any developer or designer who tries Crunch will never go back to old Finder hacks and scripts to extract and preview iOS resources.

Crunch is capable of automatically detecting apps from your iTunes library and filtering them by platform – iPhone, iPad, or Universal. Crunch will also install a QuickLook plugin, so you’ll be able to see each app’s icon overlaying the standard .ipa file preview in the Finder and QuickLook windows. Once you’ve selected an app, you can hit Export, and Crunch will ask you where you’d like to save an app’s resources, and if you’d like to keep all files with their existing folder hierarchy, or only Retina-ready @2x image files. The latter option can be particularly useful to pinpoint images ready for the rumored iPad 3’s Retina Display found inside several Apple apps for iOS.

As I mentioned above, images will be normalized when exported – but you’ll need to have Xcode installed as Crunch uses a tool provided by Xcode to revert the optimization and make a .png Mac-ready.

Crunch does one thing very well, and I’m sure it can become an invaluable tool for anyone who designs and develops for iOS and wants to “know more” about apps and how they’re created, at least from a graphical standpoint. Crunch is only $9 via Pragmatic Code’s website.

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.