Lectures from the most recent quarter (Winter 2014-2015), based on iOS 8 and Swift are available on iTunesU. Note that the version of Swift for this course was was 1.1. Swift 1.2 has since been released and includes some changes that affect the demonstrations. Swift 1.2-compatible versions of the demos can be found below alongside the ones presented in lecture. Currently there are no Swift 2.0-compatible versions, but stay tuned.
The website you are looking at (http://cs193p.stanford.edu) was retired a couple of years ago, but evidently iTunesU folks still need it for demo code downloads, so we will post those below.
Downloads for previous quarters can be found to the left on this page.
Please do not repost from this website on other websites--these downloads are for the individual use of those of you watching the course on iTunesU. Enjoy!
Here is the code from today's section.
Note that the face detection only works for one (landscape) orientation of the device.
Here is the modified Psychologist code example that I used to illustrate finding leaks and using the static analysis tool in Xcode.
Here are the slides from the section on 4/8.
Also attached is the XCode Project for the debugging example we covered. There are several bugs in this code so it does not work (that is intentional) ... see if you can find the bugs yourself. If not, the readme.txt contains a list of bugs.