My Blog List

Friday, June 3, 2011

Reading Notes: Main Window Nib File, Interface Objects


Goldstein's iPad Apps Development Book page 164

Interface Builder has been a bit of a challenge to me. I'm working to start over with it and get a better idea of how to draw the connections between the objects I put into the View window and the various Main Window interface objects.

So what is in the Main Window?

  1. File's Owner, A Proxy Object
    1. class UIApplication
    2. created by UIApplicationMain object before the nib file is loaded
  2. First Responder, Proxy Object
    1. First entry in application responder chain
    2. points to object user currently interacting with
  3. Window
  4. Instance of (DeepThoughts*)AppDelegate set to be the app delegate
    1. Code that restores app after launch to it's previous state
    2. Performs any custom application initialization
  5. Instance of (DeepThoughts)ViewController set to be apps view controller
    1. Where I put code to control the view of my apps (ch 10)

* DeepThoughts in current book tutorial


No comments:

Post a Comment