NSDocument class doesn't insert swift module
| Originator: | keithbsmiley | ||
| Number: | rdar://26909908 | Date Originated: | 20-Jun-2016 22:12 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.3.1 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When creating an NSDocument and defining that in your Info.plist, the class inserted is not prefixed with the swift module containing the class. Steps to Reproduce: 1. Create a NSDocument subclass 2. In your info plist, add the document, and choose your class from the dropdown Expected Results: Module.Class is added as the classname for the document Actual Results: Only the Class name is added, which makes the document fail at runtime. Version: Xcode 7.3.1 Notes: StackOverflow: https://stackoverflow.com/questions/25166494/documenttype-does-not-map-in-xcode-6-beta-5-using-swift Dev forums: https://devforums.apple.com/message/1017433#1017433
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!