 //  Copyright © 2016 Holmes Futrell. All rights reserved.
 //
 
+#if canImport(CoreGraphics)
 import CoreGraphics
+#endif
 import Foundation
 
 @objc(BezierKitPathComponent) open class PathComponent: NSObject, Reversible, Transformable {

        return self.orders[index]
    }

    internal func appendPath(to mutablePath: CGMutablePath) {
        mutablePath.move(to: self.startingPoint)
        for i in 0..<self.numberOfElements {

            }
        }
    }
    #endif

    required public init(points: [CGPoint], orders: [Int]) {
        // TODO: I don't like that this constructor is exposed, but for certain performance critical things you need it
