enum CGPDFObjectType not recognized in Swift
| Originator: | kykimnyc | ||
| Number: | rdar://21465391 | Date Originated: | 2015.06.19 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 6.3.2 (6D2105) |
| Classification: | Serious Bug | Reproducible: | YES |
Summary: CGPDFObjectType is an enum in Swift. Accessing CGPDFObjectType.<value> returns an error: "'CGPDFObjectType.Type' does not have member named '<value>'" Steps to Reproduce: 1. Open Playground 2. Enter "let objectType = CGPDFObjectType.String" 3. Xcode reports error Expected Results: Expect Xcode to report "(Enum Value)" Actual Results: Error: 'CGPDFObjectType.Type' does not have member named 'String'
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!