1

I am bit confused when I try to compare the difference between Uiviewcontroller and UI window?

1 Answers1

2

UIWindow is a subclass of UIView, it provides space for displaying content using a UIView, but it does not display anything on its own. Please read up here to get a full understanding. UIViewController is the object that controls a view, hence the name. This follows the basic iOS programming architecture MVC--Model View Controller: model holds data and behaviors, view displays information, and the controller is the connecting piece between the view and the model, more information on that topic here.

ɯɐɹʞ
  • 1,040
  • 11
  • 17