Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

SVGKit for Mac OS X and iOS

DZone's Guide to

SVGKit for Mac OS X and iOS

· Mobile Zone
Free Resource

Get gorgeous, multi-touch charts for your iOS application with just a few lines of code.

This looks like an interesting option for designing and implementing simple animations easily:

SVGKit at GitHub

SVGKit is a Cocoa framework for rendering SVG files as Core Animation layers. All shapes are represented by instances of the CAShapeLayer class, and are, by design, animatable. SVGKit is compatible with the latest Mac OS X and iOS SDK’s. To use SVGKit in your iOS application, simply drag the Core and iOS folders into your Xcode project. See SVGPad for a working sample…


That’s pretty cool, yep. And even more interestingly, it does it quite elegantly indeed:

First, initialize an instance of SVGDocument, the model object which encompasses the entire SVG element tree. This can be accomplished using the initWithContentsOfFile: initializer. To load a SVG file which resides in your application bundle, use the documentNamed: class method and pass in a file name (without the extension). The SVGDocument class encapsulates certain document metadata, including width, height, version, title, and description…


That looks like it might be a nice upgrade to Illustrator Level Design, for instance, or to LevelSVG‘s parsing for cocos2d, besides just making it simple to pretty much drop animations straight into your UIKit interface!

@github_objc!

.Net developers: use Highcharts, the industry's leading interactive charting library, without writing a single line of JavaScript.

Topics:

Published at DZone with permission of Alex Curylo, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}