Post

Replies

Boosts

Views

Activity

import PDFKit in MacOS
Hi,I am trying to start playing around with PDFKit on macOS 10.12.5 using XCode9beta. PDFKit should be available since 10.4. on macos. I am wondering why XCode is complaining about "import PDFKit" with "no such module PDFKit". I even tried to "import Quartz" but then the new features as presented on WWDC2017 for creating an annotation likelet newAnnotation = PDFAnnotation(bounds: CGRect(x: 10, y: 10, width: 100, height: 100), forType: .square,withProperties: nil)could not be interpreted as ".square" is not known.The examples that are provided by apple do handle only iOS11, but as mentioned above, due to the developer reference, PDFKit is available since macos 10.4.My building settings are set up for "latest macos".Any hint is more than welcome!Regards,Max
3
0
3.8k
Jun ’17