Quick help documentation in Swift shows different availability than Objective-C
| Originator: | fpg1503 | ||
| Number: | rdar://23749319 | Date Originated: | 03-Dec-2015 07:56 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.1.1 |
| Classification: | Reproducible: | Always |
Summary: I was looking up the quick help documentation for NSMutableData appendData in Swift and noticed it's availability was iOS 8.1. However going into an Objective-C file the availability appears as iOS 2. This is not just that method. NSData subdataWithRange also says iOS 8.1 when it's also iOS 2. Basically all the quick help documentation in Swift files shows the incorrect availability version number. Steps to Reproduce: 1. Create a Swift and Objc file. 2. Use same method. 3. Option + click to open the quick documentation. 4. See that availability versions are different Expected Results: I expect the availability version to be the same for the same method in Objc and Swift files. Actual Results: They are not the same, and Swift lies (which caused me a slight panic since we still support iOS 8.0). Version: Xcode 7.1.1 (7B1005) & OS X 10.11.1 (15B42) Notes: Configuration: Attachments: 'Screen Shot 2015-12-03 at 7.52.27 PM.png' and 'Screen Shot 2015-12-03 at 7.52.41 PM.png' were successfully uploaded.
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!