Enhancement for images with equals dimension in Xcode assets

Originator:jacopo
Number:rdar://15414452 Date Originated:07-Nov-2013 05:23 PM
Status:Closed Resolved:Work as intended
Product:Developer Tools Product Version:5.0
Classification:Enhancement Reproducible:Always
 
Summary:
When we add new images to an icon assets and multiple icons share the same dimension Xcode seems to not recognize this and put the image only for the selected icon.
A better approach is to add to all the images with the same dimension and scale factor the same image if they haven't one already.
A simple case is with the iPhone and iPad spotlight icon for iOS 7. Both this icons share the same dimension in retina screens but if I add an image to the iPhone one, the iPad icon remain empty and if I re add the same image to the iPad icon in the assets catalog the file appear two times with the -1 appended to the file name.

Steps to Reproduce:
1 - Create a new project with asset catalog in it for the icons
2 - Add an image that can be in multiple place because has the same dimension.

Expected Results:
All the empty place where the image can be begin to point to that image, I can later change or delete the image for a single place and the change don't apply to the other slots.

Actual Results:
I have to add the image multiple time and create duplicate images inside the assets catalog folder.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!