Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Icon Preview for IPA Files #9

Open
freshgoods opened this issue Jan 20, 2014 · 3 comments
Open

Feature Request: Add Icon Preview for IPA Files #9

freshgoods opened this issue Jan 20, 2014 · 3 comments

Comments

@freshgoods
Copy link

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!

@ealeksandrov
Copy link
Contributor

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

@freshgoods
Copy link
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.

@ealeksandrov
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants