title: Odd architecture, App without an appDelegate class. (AVCam source linked)
body: <p>I was checking out the source of apples Video recording example and I came across this example project.</p>
  
  <p><a href="http://developer.apple.com/library/ios/#samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112" rel="nofollow">http://developer.apple.com/library/ios/#samplecode/AVCam/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010112</a></p>
  
  <p>Now it looks nice and does what it is supposed to do effectively, but I was little surprised to see no app delegate class. </p>
  
  <p>I dont full understand what is going on here. </p>
  
  <p>Can somebody explain? Are there any benefits drawbacks to what was done here? Sometimes I use </p>
  
  <pre><code>appDelegate = (Test_AppDelegate *)[[UIApplication sharedApplication] delegate];
  </code></pre>
  
  <p>to store some data that I need to be able to reach through out my app. 
  Can this still be done when an app is designed in the way AVCam was?</p>
  
  <p>Hope some of you find this as interesting as I did.</p>
  
  <p>Thanks,
  -Code</p>