20
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.