Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

What about asset catalogs? #61

Closed
rsaunders100 opened this issue Mar 26, 2014 · 9 comments
Closed

What about asset catalogs? #61

rsaunders100 opened this issue Mar 26, 2014 · 9 comments

Comments

@rsaunders100
Copy link

No description provided.

@cdzombak
Copy link
Contributor

IMO: Use them, if your app is iOS 7+ only.

@cwagdev
Copy link

cwagdev commented Mar 31, 2014

IMO: Use them, if your app is iOS 7+ only.

Yes, there are issues if your target is iOS 6 from my experience. Specifically the image slicing feature for resizable images does not work when you are target 6.

@bcapps
Copy link
Contributor

bcapps commented Mar 31, 2014

IMO: Use them, if your app is iOS 7+ only.

👍

@rsaunders100
Copy link
Author

IMO: Use them, if your app is iOS 7+ only.

This makes sense since you do not get performance wins if you app targets < 7.

I have not used the other features (e.g. image slicing) in large projects, but on solo projects it has proved useful.

@andrewsardone
Copy link

@cdzombak, I'm interested to hear why you recommend asset catalogs for iOS 7+ only.

Yes, you lose image slicing, and you don't get access to the new binary format, but I still think asset catalogs are valuable wherever they're supported.

I've found asset catalogs work a lot better in a team environment than manipulating project.pbxproj (no surprise there), and they're more approachable for people unfamiliar with Xcode and its Groups management.

I'm curious to hear if you've hit other pain points. Thanks!

@paulbruneau
Copy link
Contributor

My project supports 5.1.1 and I have been enjoying the assets catalog

@cdzombak
Copy link
Contributor

cdzombak commented Apr 5, 2014

@andrewsardone, I guess I don't recommend against using them. I've just not thought it was worth moving any iOS 5/6 projects to use them, because as you note we don't get image slicing or the binary format.

(And any new projects I've worked on are iOS 7, so it's a non-issue. I suppose there's especially no reason not to use them on new iOS 5/6 projects.)

I've found asset catalogs work a lot better in a team environment than manipulating project.pbxproj (no surprise there), and they're more approachable for people unfamiliar with Xcode and its Groups management.

That's definitely true; I hadn't considered that aspect. Everyone who's working with image assets on my projects is already familiar with Xcode projects (and merge conflicts in there).

@andrewsardone
Copy link

@cdzombak: 👍

@mbbischoff
Copy link
Contributor

This issue can be closed as of #104.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants