[Swift 2.2] CGPath cannot be found


(Thomas Krajacic) #1

With the latests swift development snapshot (2016-02-05) a deprecation warning is given for CGPathRef.
When applying the suggested change and one uses CGPath, that results in an error:

  Use of undeclared type 'CGPath'

CGImageRef -> CGImage works fine though.

Since the Swift bug tracker seems to be down (at least for me) I’m posting this here.

(What would be the appropriate place? I couldn’t find a PR that is related to this.)

Thanks,
Thomas


(Douglas Gregor) #2

I’m having trouble reproducing this. Can you file a bug at bugs.swift.org (which appears to be working fine now) with sample code that triggers the error?

  - Doug

···

On Feb 5, 2016, at 12:45 AM, Thomas Krajacic via swift-dev <swift-dev@swift.org> wrote:

With the latests swift development snapshot (2016-02-05) a deprecation warning is given for CGPathRef.
When applying the suggested change and one uses CGPath, that results in an error:

  Use of undeclared type 'CGPath'

CGImageRef -> CGImage works fine though.

Since the Swift bug tracker seems to be down (at least for me) I’m posting this here.

(What would be the appropriate place? I couldn’t find a PR that is related to this.)