4 ms·
iOS Hat – Turn Photoshop Layers to Objective-C
- keehun 12y agoSo, is this what Sketch 3 is doing but inside Photoshop?
- jlmendezbonini 12y agoI don't think you can generate objective-c code from Sketch 3. Maybe you were thinking of Paint Code http://www.paintcodeapp.com http://www.paintcodeapp.com ?
- Greenisus 12y agoThis is certainly very impressive, but I don't think I'd ever actually use it. Two things that I didn't really like: 1. Tons of generated code in -drawRect: 2. When the UIButton was created with the background image, it looked to me like the image was actually the size of the button. It's much more efficient and flexible to make a small stretchable button background. That said, very cool! I wish there were a trial version I could at least try out.
- deleted 12y ago[deleted]
- ksylvest 12y agoWhy not use interface builder?
- supercoder 12y agoBecause Interface Builder does none of this, especially converting shapes / vectors into drawing code. This only adds to the tools, not replaces.
- supercoder 12y agoThis looks like a great replacement for PaintCode, as I was always just wanting to take stuff from Photoshop and put it in there anyway.
- stevenp 12y agoPaintCode 2 supports direct import of PSDs and adds a ton of additional features as well, like the ability to use variables and expressions to drive attributes of shapes.
- ianstallings 12y agoA good idea if you want to integrate your platform into an existing business workflow that uses PS, such as with a publisher. My team considered this on an enterprise mobile platform. We actually had parsers for InDesign and PS files that sliced the image assets and an XML-based UI language to translate what we could. This would be much much simpler and more straight forward. Do you have plans to support other mobile platforms?
- chadscira 12y agoPretty cool. I decided to port your constraints helper to the web today. http://constraints.icodeforlove.com/ http://constraints.icodeforlove.com/