As I convert my code to swift 3, I got this error:
error: 'CGContextEOClip' is unavailable: Use clip(using:)
CGContextEOClip(context!);
^~~~~~~~~~~~~~~
CoreGraphics.CGContextEOClip:2:13: note: 'CGContextEOClip' has been explicitly marked unavailable here
public func CGContextEOClip(_ c: CGContext?)
I have no idea how to use the clip (using :), and I do not see any documentation related to it. Any ideas. thanks reza
source
share