For example, back when we were using 2x in the Sketch file, here’s what iOS engineers would do: - Inspect a UI component in Sketch, see `50` - Do the math: `50 (value from Sketch) / 2 (scale factor from 2x) = 25` - Then use `25` in the code
Design at 1x—It’s a Fact
Kurt Varner
2.6K93

…because, for engineers, dividing by 2 is really difficult? Seriously, though, this is an issue when working with designers who pride themselves on being “pixel-perfect” at 2x and leave an engineer having to deal with an image that’s 27.5pt square, positioned at x:31.5 and y:19.5.