Lecture notes and code for objective-c class