20

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

Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556

6 Answers6

12

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.

FreeAsInBeer
  • 12,937
  • 5
  • 50
  • 82
8

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

XCode Downloads Tab

Stephen Donnell
  • 810
  • 9
  • 20
7

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.

JWWalker
  • 22,385
  • 6
  • 55
  • 76
1

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.

Philip Regan
  • 5,005
  • 2
  • 25
  • 39
  • those pdfs are useful if there are just one or two items you want the docs for - but what if you want a whole section? there must be a better way than downloading hundreds of pdfs one by one. – Chani Sep 20 '13 at 22:29
1

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

enter image description here

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

Wouter
  • 1,568
  • 7
  • 28
  • 35
  • This tab only has "Simulators" for me. Did they change it? How do I download documentation in the recent version? Thanks – InfiniteLoop Aug 31 '22 at 19:59
0

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

Eimantas
  • 48,927
  • 17
  • 132
  • 168