I am a newbie in iphone dev, and I am confused by UIViewController.
most program start with a view controller, but I don't know why we need it. ViewController has a view, but you cannot use the drawRect medthod. So why not just use View instead of ViewController in places like UIWindow and so on?
I learned that to initialize a View, you need to use initWithCoder, because view is in the nib file. But why view is in the nib file? I subclass UIView and do some drawing in drawRect, what is its connection with nib file ?