News for hackers. Stuff that matters.
Re:PaintCode - Vector Based Obj-C Graphics Code Generator by illicium on Monday April 02, 2012 @02:43PM (#3789480)
Hardcoding... graphics? Why?
Re:PaintCode - Vector Based Obj-C Graphics Code Generator by gte910h on Monday April 02, 2012 @02:58PM (#3789544)
People are currently using PNGs

So you're hardcoding either way.

Additionally, paintcode has the flexibility of making say, a button that shrinks/grows based on the shape of another view, say, as is caused when you rotate an ipad, etc.

I've been very happy with the product so far.

Re:PaintCode - Vector Based Obj-C Graphics Code Generator by shock-value on Monday April 02, 2012 @03:24PM (#3789641)
This product just outputs Obj-C, which must be baked into your source code, right? That's what I think of as hardcoding. I wouldn't call loaded PNG's from outside of the binary "hardcoded".

I can certainly see where having easy programmatic access to the primitives that make up a vector drawing would be useful though.

Re:PaintCode - Vector Based Obj-C Graphics Code Generator by gte910h on Monday April 02, 2012 @09:52PM (#3791091)
It outputs code that you can customize dynamically though...unlike pngs
Re:PaintCode - Vector Based Obj-C Graphics Code Generator by DHowett on Monday April 02, 2012 @02:53PM (#3789522)
If you boil down a UI element's description to a set of lines, colours and gradients, you can easily apply that to other elements at all scale factors, without having to ship piles of images (possibly in four different sizes, if you have iPad-specific assets) and deal with the horrible "stretchable images" system.

That aside, the ease of prototyping makes development that much faster.

Re:PaintCode - Vector Based Obj-C Graphics Code Generator by ryanpetrich on Monday April 02, 2012 @05:54PM (#3790275)
Stretchable images are quite elegant: they are relatively easy to use, use less memory and memory bandwidth, perform all drawing on the GPU when paired with UIImageView, animate size changes effortlessly and automatically share their buffer between all image views that use a single resource. You can certainly add all of this to elements that are drawn "in code", but it's considerably more work.
Re:PaintCode - Vector Based Obj-C Graphics Code Generator by J3L2404 on Monday April 02, 2012 @02:46PM (#3789492)
Resolution independence.