Hacker News new | ask | show | jobs
by gfodor 4773 days ago
If you use Sketch to draw your interface, you get @2x exporting and slicing is built in. It hurts my head to think about what I would have to do if I was using Photoshop.
1 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.