41
edits
Techprolet (talk | contribs) |
Techprolet (talk | contribs) |
||
Line 41: | Line 41: | ||
===Mechanics=== | ===Mechanics=== | ||
The app consists of | The app consists of 4 Classes: | ||
The ''' | The '''main''' class where everything starts (not much interesting happens here). | ||
The '''UpicViewController''' controls the only View of the UPIC app. When a user draws a line, the ''UpicViewController'' creates an | 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''. | |||
==App Store== | ==App Store== |
edits