Here are the approaches we tried but did not work
- Version control the images – bloats up our git repo, not a good idea
- Images on DropBox – Whenever our designer adds an image on Dropbox it gets available to engineers, but the engineers then have to add the new image to their Resources manually.
- Image folder on DB, link folder under Resources – Same as above, but we add the folder under Resources, not the image files. However, the manual process of adding newly added images still remain.
What are the best practices you have followed?
Have you tried adding a Folder Reference instead of a group when adding it to your project and using DropBox to keep that folder up to date with your images ?
As a Folder Reference, it should always reflect the current state of the linked folder without the need to manually add each file as it is downloaded from DB.
After running a quick test, I found that adding Folder References and trying to use the images from there with [UIImage imageNamed:@”fileName.png”] doesn’t find the actual image.
You have to actually include the relative path to your Folder Reference, like this:
That seemed to do the trick.