Smith College                      

csc400 Special Studies:Advanced Programming Techniques, Fall 2011


Judy Franklin

Class Times: Wed 2:40-4:00pm
Location: Ford Hall 241
Prereqs:
        csc111
        csc212

Textbook: Beginning iPhone Games Development, Apress.


http://www.apress.com/9781430225997 Textbook publisher/downloads site

This Page is Under Construction!

Focus on:
  • iphone sdk
  • Objective C
  • openAL (audio library)
  • Running in simulation
  • Teamwork: We'll be in this together.

Notes:
  • Xcode 3: For app icon, you have to click on Resources folder first.
  • To get text software to run, do
    • xcode3:
      Project-->Edit project settings-->Build-->Architectures-->Base SDK = Latest iOS Then
      Project-->Set active SDK = Simulator
      Project-->Set active executable = iPhone Simulator (it always wants to be iPad)
    • xcode4:
      Select Targets from left sidebar.
      Select Build Settings tab
      Click on Mondernize Project button at bottom middle.
Links:

Other links:

Syllabus:

  • Pausing Animation
  • Pausing - like others, using frame and CALayer
  • Week
    Topic Lab Exercises Assignments
    Sept 12-16: Chapter 3
    Creating an XCode Project
    Objective-C
    1. Lab1 getting started with iphone development
      Creating a new xcode4 project
    Sept 12-16
    Cocoa Touch (app environment for iPhone)
    Foundation Framework
    UIKit Framework
    IVBricker Game
    1.  
    Sept 19-22
    Chapter 4. Asteroids! Properties
    1. Good discussion of properties and their attributes
    2. Discussion of assign vs. retain for a property
    Reading: ch4 and implementation

    Sept 26-30 The objective-c singleton class used in the asteroids game in chapter 4.

    (re: static and @synchronized).
    Threads and Synchronization

    A Java Developer's Guide to Threads on iPhone 
    Animation at end of ch3

    Oct 1-5

    Excellent On-line tutorial on Quartz 2D, a 2D drawing engine for iphone and macOS. Part 1.

    An iOS 4 iPhone Graphics Drawing Tutorial using Quartz 2D (Xcode 4), Part 2.

    Basic iPhone Animation using Core Animation (Xcode 4). Really good.
    The rest of this excellent tutorial can be found here, with complete table of contents:
    iPhone iOS 4 Development Essentials Xcode 4 Edition
    xcode4 - tutorial - where to find xcode4's documentation (YouTube)


     
    Oct 6-12 More Quartz 2D
    #pragma mark - in xcode, sets up entry in functions menu in navigation bar.
    Useful for organization.

    The #pragma directive is a way to provide information to the C compiler.
     
    Oct 15-19 ***PICNIC*** UIView Animation with Blocks

    Animation with blocks

    Core Animation Cookbook

    Apple Developer's Quartz 2D Programming Guide

    View Programming in iOS
    Animation: UIImageView vs. UIView. How to stop at end of animation cycle when using UIImageView

    Verification that Timer is needed

    CADisplayLink example code
     
    Oct 22-26 Judy's animateViewController (with Turing image on box, and 2 yahyahyah sounds)
    Core AUdio Frameworks
    OpenAL.framework
    
    The OpenAL framework provides
    the Mac OS X implementation 
    of the the OpenAL 
    specification. For more 
    details about OpenAL APIs, 
    see openal.org.
    
    al.h
    alc.h
    alctypes.h
    altypes.h
    alut.h
    
    OpenAL Sound Class for iPhone
    Oct 31-Nov 4 Big Storm No Power
    Nov 7-11 Vimeo - video of two-views ina project - well-described!

    SpaceRocksOpenALlistener.tar from chapter 11 of our text
    Making transitions from One view to Another and animating the transitions  Converting from .nib to .m (to objective C)
    Nov 14-18      
    Nov 21-25 Thanksgiving   Thanksgiving
    Nov 28-Dec 2
    tuscolaSmall.aiff
    "Send" code to Judy Friday Dec 2 and Friday Dec 9 tarInstructions to create tar file in the Terminal Application. Introduction to CALayers Tutorial

    How to rotate a CALayer
    Dec 5-9 Reminder: "Send" code to Judy Dec 9  
    Dec 12-16 Last class Wed Dec 14 "Send" Code to Judy by Wed Dec 21