Why I don’t use PDFs for iOS assets(bjango.com)

over 8 years ago from Marc Edwards, Founder at Bjango

  • Daniel WhyteDaniel Whyte, over 8 years ago (edited over 8 years ago )

    Nice, I'm not a fan using PDF's, but exporting PNG's can be cumbersome, I've been using Iconfonts for a while, and it makes things pretty quick when adding new assets.

    Just like:

    NSString * const IconName = @"\uf100";

    Then use font with size to draw.

    0 points
    • Robert GrazioliRobert Grazioli, over 8 years ago

      This is what we've been doing as well. It's awesome when you have icons changing color. However, scaling isn't ideal because they'll always maintain the same weight.

      0 points
      • Marc EdwardsMarc Edwards, over 8 years ago (edited over 8 years ago )

        You can change color if you're using PNGs, too. iOS can tint images based on transparency easily.

        0 points