// https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CGPath/index.html // import Foundation; import CoreGraphics; let x = CGPathCreateMutable(); print(CFEqual(x, x)); print(CFGetRetainCount(x)); CGPathMoveToPoint(x, (), 1.0, 2.0); //CGPathRelease(x);