Skip to content

Feature Request: Add Icon Preview for IPA Files #9

Open

Description

@freshgoods

Since the Provisioning Quick Look plug-in handles iOS App (IPA) files, it would be beneficial and meaningful to display the app icon (which is archived inside the IPA file) in the following places:

  1. Display the app icon as the icon preview Thumbnail (instead of the generic IPA document icon).
  2. Display the app icon inside the Quick Look Preview panel - most likely at the top-left of the provisioning profile information, near the app title. For consistency, other non-IPA file types could display their generic document icon in the same position.
  3. Display the app icon as the Quick Look Preview (default to 512 x 512 points), when the IPA file contains no provisioning profile. This would apply to all IPA files obtained through iTunes, typically stored here:
~/Music/iTunes/iTunes Media/Mobile Applications/

This concept isn't new – the IPA Quick Look plug-in by Julien Chauveau @julienchauveau has provided the above functionality (items 1 and 3) since 2009. It's located here:

http://code.google.com/p/quicklook-ipa/
https://github.com/julienchauveau/quicklook-ipa

It should be noted, however, that this plug-in hasn't been updated since 2009, and doesn't appear to work on Mavericks 10.9.x. A casual glance at the Console error logs seems to indicate a Sandbox error, but further investigation would be required there.

Secondly, with the release of iOS 7, Apple changed the appearance of all iOS app icons by altering the corner radius of the mask applied to the icon image. (The icon images of iOS apps are square, masked programmatically when displayed on iOS and in iTunes.) The aforementioned plug-in uses a pre-iOS 7-style corner radius.

It may be better to apply an iOS 7-style corner radius, though apparently this isn't as easy as it seems. Some work has been done to determine the new style of corner radius, such as by Manfred Schwind @manide:

http://www.mani.de/backstage/?p=483

Looking at the icon rendering in iTunes 11.1, it looks like app icons are still masked in the pre-iOS 7 style, but it's probably just a matter of time before this changes to the new style.

Thanks!

Activity

  1. ealeksandrov commented on Jan 26, 2014

    @ealeksandrov
    Contributor

    Take a look at https://github.com/ealeksandrov/ProvisionQL
    All features you are talking about is implemented there (including iOS7-style masking).

  2. freshgoods commented on Jan 26, 2014

    @freshgoods
    Author

    Thanks for the additional info. I originally contacted Craig about these features and he asked me to enter it as an issue here on GitHub, so I think he's considering them for Provisioning. Cheers.

  3. ealeksandrov commented on Jan 26, 2014

    @ealeksandrov
    Contributor

    @chockenberry,
    if you fine with my implementation, just highlight desired features and I'll create corresponding pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions