No way to put link to documentation in code.
| Originator: | craig.hockenberry | ||
| Number: | rdar://16460612 | Date Originated: | 3/28/14 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Enhancement | Reproducible: |
Summary: There is no way to put a link to a relevant part of the Documentation and API Reference in code (as a comment.) The only way to do it is with a link to HTML page at developer.apple.com. For example, deprecated UIView methods are put in code as: // can't use this because it's deprecated // https://developer.apple.com/library/ios/documentation/uikit/reference/uiview_class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/doc/uid/TP40006816-AppendixA And when you click on that link it opens in a browser, not the documentation viewer. I'd rather be able to do this: // can't use this because it's deprecated // docs:///library/ios/documentation/uikit/reference/uiview_class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/doc/uid/TP40006816-AppendixA And have it open in the documentation viewer.
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!