Skip to content

Instantly share code, notes, and snippets.

@vfig
Forked from fzwo/LegacyDocsets.md
Created January 2, 2020 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vfig/885197feda2472092c8fc77a833b8775 to your computer and use it in GitHub Desktop.
Save vfig/885197feda2472092c8fc77a833b8775 to your computer and use it in GitHub Desktop.
Download and view old Apple developer documentation

How to download and view legacy documentation from Apple (no need to sign in to your dev account).

  1. Go to https://developer.apple.com/library/downloads/docset-index.dvtdownloadableindex
  2. Find the docset you want (there are some with URL https://apple.com/none.dmg; ignore them - you will find them again further down the file with a working URL).
  3. Download the dmg. It's probably around a gigabyte or so.
  4. "Install" the .pkg file somewhere on your disk. If you don't trust the installer, do it manually:
    1. Find the largest file, names Payload, and extract it using The Unarchiver.
    2. This created a new, even larger file, probably named Payload-1.
    3. Extract Payload-1 using The Unarchiver.
  5. After many minutes of extracting, we have our .docset file.
  6. Use Kapeli Dash to browse and read the docset.

Why? Because Apple's old docs are often more verbose, and because they didn't mix iOS and macOS docs into one big mess. Or just because you need good information for backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment