- Download the docset index XML.
- 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).
- Download the dmg. It's probably around a gigabyte or so.
- "Install" the .pkg file somewhere on your disk. If you don't trust the installer, do it manually:
- Find the largest file, named Payload, and extract it using The Unarchiver.
- This creates a new, even larger file, probably named Payload-1.
- Extract Payload-1 using The Unarchiver.
- After many minutes of extracting, we have our .docset file.
- 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, or what the official word was back in time.
@pcr910303 Thank you very much, I was looking for something like this only, but it downloads each page as a separate PDF.
I am finding something like this, python script to download so whole swift language guide as a single PDF.
I am thinking edit script to merge all the web pages before downloading as a single pdf, but I'm not good at Javascript, do you think is it possible to combine multiple pages before generating pdf by modifying your script?