Syntax can become extremely verbose when working with many APIs in the iOS SDK with Swift, and Quartz is no exception.
Here’s a library that provides a more convenient syntax when using Swift with Quartz and related frameworks such as Core Image, and Core Graphics called SwiftGraphics from Jonathan Wight.
Here’s some of the features provided by SwiftGraphics:
– Operator overloading for CoreGraphics types
– Quadtree data structures
– Object oriented extensions for CGContext and CGPath
– Easy creation of geometry objects
– Convex hull generation
– An Xcode 6 playground
You can find SwiftGraphics on Github here.
A nice library for working with quartz and related frameworks.
Original article: Open Source iOS Library Providing A Clean Syntax For Working With Quartz In Swift
©2015 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.