4

For example, I would like to see the pre-Leopard API version of HID Explorer. I see in the revision history that the initial sample was created on 2003-01-14. Is there any way to get that revision?

Lou Zell
  • 5,255
  • 3
  • 28
  • 23

2 Answers2

1

You can access older code samples through an older "documentation set". Documentation samples may have been bundled with Xcode in the past, but this is no longer the case. Downloading an older version of Xcode may be a waste, depending on how far back you want to go.

If you look at the answer to this question it will show you how to download an older documentation set. Xcode uses an ATOM feed to download / update documentation sets, so it's just a matter of adding the correct URL.

After downloading the documentation set you can search/view both versions in Window -> Organizer -> Documentation.

(In my case I wanted the older version of PhotoScroller. Since iOS 6.0, they changed the slider from a dequeing UIScrollView to a UIPageViewController).

Community
  • 1
  • 1
Luke
  • 13,678
  • 7
  • 45
  • 79
0

Sadly, no. Unless you have an older system restore disc (they came with older versions of Xcode and I think the documentation came with them) or one of the older ADC DVD mailings that went away in favor of online downloads.

Joshua Nozzi
  • 60,946
  • 14
  • 140
  • 135
  • 1
    Apple still has old Xcode downloads on their website. Use connect.apple.com to log in (a free account will work) and choose the Developer Tools section. I believe every version comes with some samples, its just sometimes hard to find and not all of the samples are included. – ughoavgfhw Dec 31 '10 at 19:18
  • You should've made that an answer! I would've up-voted you. :-) To specify, you have to go to Developer Downloads -> Developer Tools. Everything back through Xcode 2.x is there. Thanks for the pointer. – Joshua Nozzi Dec 31 '10 at 19:48
  • 1
    Here are links to all the old Xcode downloads: http://stackoverflow.com/questions/10335747/how-to-download-xcode-4-5-6-7-and-get-the-dmg-file and doc sets:http://stackoverflow.com/questions/8542614/download-xcode-4-2-documentation-for-offline-install/8542901#8542901 – Steve Moser Nov 03 '15 at 16:19