Last week I mentioned an open source library that allows for the importing SVG files into your iOS apps by using the SVG data to create CAShapeLayers
Recently, I was told about a tutorial with sample code for a similar purpose, but with a different approach. In this case the developer imports the data from an illustrator EPS file, and uses that data to create a CGPathRef.
The tutorial is from Jeff Menter and it can be found along with the sample code here:
Method for Interpreting Illustrator Art Assets as Cocoa CGPathRef
Thanks to a comment from the Learning iOS blog for mentioning the tutorial.
©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.