Giter Site home page Giter Site logo

Comments (9)

cdzombak avatar cdzombak commented on August 15, 2024

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

from objective-c-style-guide.

cwagdev avatar cwagdev commented on August 15, 2024

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.

from objective-c-style-guide.

bcapps avatar bcapps commented on August 15, 2024

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

👍

from objective-c-style-guide.

rsaunders100 avatar rsaunders100 commented on August 15, 2024

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.

from objective-c-style-guide.

andrewsardone avatar andrewsardone commented on August 15, 2024

@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!

from objective-c-style-guide.

paulbruneau avatar paulbruneau commented on August 15, 2024

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

from objective-c-style-guide.

cdzombak avatar cdzombak commented on August 15, 2024

@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).

from objective-c-style-guide.

andrewsardone avatar andrewsardone commented on August 15, 2024

@cdzombak: 👍

from objective-c-style-guide.

mbbischoff avatar mbbischoff commented on August 15, 2024

This issue can be closed as of #104.

from objective-c-style-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.