XCode Documentation - Offline Reading

后端 未结 6 2177
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-18 19:01

Is it possible to have the iOS and OSX documentation available for offline reading? If so, how?

相关标签:
6条回答
  • 2020-12-18 19:19

    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.

    0 讨论(0)
  • 2020-12-18 19:20

    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.

    0 讨论(0)
  • 2020-12-18 19:20

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

    0 讨论(0)
  • 2020-12-18 19:33

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

    XCode Downloads Tab

    0 讨论(0)
  • 2020-12-18 19:38

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

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

    0 讨论(0)
  • 2020-12-18 19:40

    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.

    0 讨论(0)
提交回复
热议问题