Skip to content

Instantly share code, notes, and snippets.

@smic
Created June 17, 2016 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smic/ac7c80351230d2a47b0722264adb000f to your computer and use it in GitHub Desktop.
Save smic/ac7c80351230d2a47b0722264adb000f to your computer and use it in GitHub Desktop.
Swift Compiler Crash
import Cocoa
public extension CGPath {
public convenience init(roundedRect rect: CGRect, corner: CGSize) {
self.init(roundedRect: rect, cornerWidth: corner.width, cornerHeight: corner.height, transform: nil)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment