Skip to content

Comment on Starters Guide to iOS Designparent

Comments

If you use PaintCode, you get CoreGraphics c code output. If you deliver your designs to a developer in CG code, their jaw will drop.

Note this can be slower to render than a bitmap equivalent. I tend to avoid drawing code unless it's a dynamic animation, such as a waveform.

what's the point, exactly, to doing this (serious question)

Things like:

  * Scalability - you can resize a button and get the correct look
  * Simplicity - you don't need to create 1x and 2x resources
Downsides are that it can be slow and it muddies up your code base.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.