IFD:IOSDev/Projects/Pavlos: Difference between revisions

From Medien Wiki
Line 44: Line 44:
The '''main''' class where everything starts (not much interesting happens here).
The '''main''' class where everything starts (not much interesting happens here).
The '''UpicAppDelegate''' is the application delegate (you guessed that!)
The '''UpicAppDelegate''' is the application delegate (you guessed that!)
The '''UpicViewController''' controls the only View of the UPIC app. When a user draws a line, the ''UpicViewController'' creates an instancethe of '''SoundVector''' which is charged with storing the point2d-path the line consists of, and also transforming this point2d-path into sound. Two-dimensional points are stored in an [http://cocoawithlove.com/2008/12/ordereddictionary-subclassing-cocoa.html '''OrderedDictionary'''], as SoundVector instances themselves. Of course, all user interaction (painting, undoing, playing, controlling speed and loop) is handled by the ''UpicViewController''.
The '''UpicViewController''' controls the only View of the UPIC app. When a user draws a line, the ''UpicViewController'' creates an instance of '''SoundVector''' which is charged with storing the point2d-path the line consists of, and also transforming this point2d-path into sound. Two-dimensional points are stored in an [http://cocoawithlove.com/2008/12/ordereddictionary-subclassing-cocoa.html '''OrderedDictionary'''], as SoundVector instances themselves. Of course, all user interaction (painting, undoing, playing, controlling speed and loop) is handled by the ''UpicViewController''.


==App Store==
==App Store==