Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    P

    PaintCode Blog

    paintcodeapp.com · Company blog · on HN since 2012

    The makers of PaintCode, a Mac app that turns vector drawings into native iOS drawing code, post release notes and iPhone screen guides.

    Visit blogHN submissions
    Mobile & AppleDesign & UXProgramming
    What HN says

    HN commenters bring up PaintCode as a tool for vector UI that generates Objective-C, Swift or C#, and one commenter says they paid for it.

    Stats for nerds
    40HN people shared it
    38linked in comments
    859story points
    Jul 2021last shared
    2012people per year2021

    Top posts on HN

    1. 1
      Vector based UI design tool that generates ObjC
      18 people · 279 points · first shared 2012 · 78 comments on HN
    2. 2
      iPhone 6 Screens Demystified
      6 people · 255 points · first shared 2014 · 85 comments on HN
    3. 3
      PaintCode 2
      1 person · 126 points · first shared 2014 · 71 comments on HN
    4. 4
      Drawing Code for iOS 7 Rounded Rectangles
      1 person · 54 points · first shared 2013 · 6 comments on HN
    5. 5
      Swift is coming to PaintCode
      2 people · 51 points · first shared 2014 · 15 comments on HN
    6. 6
      PaintCode 2.1 adds support for Swift
      1 person · 19 points · first shared 2014 · 5 comments on HN
    7. 7
      The Ultimate Guide to iPhone Resolutions
      7 people · 17 points · first shared 2014 · Discussion on HN
    8. 8
      PaintCode 2.3 adds over 15 new features
      1 person · 17 points · first shared 2015 · 2 comments on HN
    9. 9
      PaintCode Telekinesis
      1 person · 9 points · first shared 2015 · 1 comments on HN
    10. 10
      Using PaintCode to draw dynamic lightbulbs
      1 person · 6 points · first shared 2013 · Discussion on HN

    What HN people wrote when they linked it

    • mrbSep 2014

      "there should be no fidelity loss"

      Heh. Yes there will be, most notably on webpages, for example those with box borders defined as "1px solid" lines. The lines will look fuzzy and unequal. Check the last image at http://www.paintcodeapp.com/content/news/2014-09-11_iphone-6-screens-demystified/line.svg : it shows a "1 CSS pixel" line rendered as 2 black lines + 2 grey lines (one of the greys is very, very light). Some lines will not be interpolated the same way: some will be 2 black lines + 1 grey line, some will be 1 black line + 2 grey lines, and the shade of the 2 greys will be unequal and will vary depending on their precise alignment on the 1080p physical grid. The end result is that some lines will look slightly thinner/lighter or slightly thicker/darker than others. Heck, on my Nexus 5 which has an even higher PPI (445 PPI) than the iPhone 6+ (401 PPI) I can still clearly notice this effect, when holding the phone at arm's length (and I don't even have 20/20 vision), when simulating the downsampling that the 6+ is going to have to do. I can do it by zooming out[1] to simulate an effective pixel ratio of ~2.61, which is equivalent to what the iPhone 6+ is really doing graphically (1080 physical pixels wide / 414 logical pixels wide = ~2.61).

      Contrast this with most Android devices where it is possible to get pixel perfect rendering because most (but not all) of them use a non-fractional pixel ratio (1.0, or 2.0, or 3.0, or 4.0) and to my knowledge none do downsampling…

    • aggarwalachalMar 2012

      Updates:

      Just got an email from their team

      Trial version of PaintCode

      You can now download a limited trial version of PaintCode at http://paintcodeapp.com/trial.html

      Video guides

      We've prepared 4 short video guides demonstrating PaintCode in action.
      These guides show various basic drawing techniques at: http://paintcodeapp.com/examples.html

      Examples

      You can also find examples of PaintCode documents at the same page.
      Some of the examples include simple Xcode projects.
      These projects utilize the drawing code generated by PaintCode.

    • healthenclaveMar 2013

      Well you could use the usual Photoshop, illustrator .... But also check PaintCode it's a mac only app that helps create vector based UI (in objective-c) for iOs only.

      Love to have something similar for Android (no sencha) 'cause the UI for android can be a serious pain.

      Basically PaintCode can import svg and photoshop layers and convert them into objective c code. Which can be easily reused, and reconfigured for any new resolution that may come out.

      It's not perfect but it's pretty neat http://www.paintcodeapp.com/

    • Cthulhu_Oct 2013

      I wonder what takes up that much space in Photoshop. I suspect the brush files, iirc those take up quite some space. I can imagine Pixelmator uses much more native / vertex images, like those you can create using PaintCode [1], which generates a bit of native Objective C code to produce the image you draw in that app. Paintcode is a great way to reduce the size of your app's downloaded content, btw.

      [1] http://www.paintcodeapp.com/

    • klausaAug 2014

      Most of the app bundle on iOS are various assets (.pngs, videos, sounds, etc). This looks like it's drawing everything in code, so the app bundle is really small.

      Marco's new app, Overcast also has UI drawn almost entirely with code (all icons are generated with PaintCode [1]), and his app [2] is 4.5mb.

      [1]: http://www.paintcodeapp.com
      [2]: https://itunes.apple.com/pl/app/overcast-podcast-player/id888422857?mt=8

    • bla2Sep 2014

      This is looking really nice. The "No Image" images on http://www.paintcodeapp.com/content/news/2014-09-11_iphone-6-screens-demystified/textRendering_2x.png look unintentional, though.

      Edit: The 1x version looks fine: http://www.paintcodeapp.com/content/news/2014-09-11_iphone-6-screens-demystified/textRendering.png So this post only looks broken on retina screens, which is a bit ironic :-)

    Related

    Black Pixel Blogblackpixel.com15 people

    Interview questions for Cocoa developers

    Black Pixel Blog
    Company · last shared 2018
    Swift Blogswift.org307 people

    Swift is Open Source

    Swift Blog
    Company · last shared 2026
    Iconfactory Blogblog.iconfactory.com45 people

    WorldWideWeb.app

    Iconfactory Blog
    Company · last shared 2025
    Sketch Blogsketch.com44 people

    Sketch: Proud to Build a Truly Native Mac App

    Sketch Blog
    Company · last shared 2026
    WebKit Blogwebkit.org723 people

    Face ID and Touch ID for the Web

    WebKit Blog
    Company · last shared 2026
    objc.ioobjc.io89 people

    Understanding IP, TCP, and HTTP

    objc.io
    Publication · last shared 2026
    iOS Dev Weeklymedium.com/ios-os-x-development42 people

    Libraries Used in the Top 100 iOS Apps

    iOS Dev Weekly
    Publication · last shared 2023
    RunRev Blogrunrev.com19 people

    RevMobile and Apple's new iPhone SDK Agreement

    RunRev Blog
    Company · last shared 2014