Non-Stanford Student Viewers

Course materials for CS193p Spring 2020 (Developing Applications for iOS using SwiftUI) can now be found at!

Stanford University's CS193p (Developing Applications for iOS) Fall 2017-18 (based on iOS 11 and Swift 4) is available on iTunesU. Or you can view it on your Mac here.

Section 4: AVFoundation

Here is the code from today's section.

Note that the face detection only works for one (landscape) orientation of the device.

Sample code: 

Friday Section 4/29: Leaks & Static Analysis

Here is the modified Psychologist code example that I used to illustrate finding leaks and using the static analysis tool in Xcode.

Sample code: 

Friday Section 4/8: Provisioning and Debugging

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.

Sample code: