开发者

XCode Documentation - Offline Reading

开发者 https://www.devze.com 2023-01-05 02:07 出处:网络
Is it possible to have the iOS and OSX documentation available f开发者_如何学Pythonor offline reading? If so, how?The Documentation for iOS is no longer a part of SDK for offline reading - looks like

Is it possible to have the iOS and OSX documentation available f开发者_如何学Pythonor offline reading? If so, how?


The Documentation for iOS is no longer a part of SDK for offline reading - looks like you need to install from preferences of XCode, select Documentation preferences - click get next to 'iOS 4.3 Library Documentation' to install it.


As of Xcode 5, you can choose to download sets of documentation under Preferences\Downloads Tab\Documentation.

XCode Documentation - Offline Reading


Go to Xcode's documentation preferences, and make sure that any documentation set you're going to need offline doesn't have a Get button next to it. If it does, click the button to download the set while you're online.


A lot, if not most, of the online documentation has a link to a PDF of what you're reading in the top right of the window, underneath the Search icon.


As of Xcode 7+, you can find the download for the documentation in Preferences > Components.

XCode Documentation - Offline Reading

You have to download documentation for every OS (macOS, watchOS, iOS, tvOS) separately.


When in XCode press ⌘ + ⌥ + ⇧ + / then start searching for methods or classes you're interested in.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号