iOS App Delegate — the controller of controllers

For some this may seem obvious, but if you’re still getting used to this Model View Controller (MVC) design pattern and wondering where the App Delegate fits in…

I found it helpful to think of it as the controller of controllers.  For example, using AppDelegate on app load to initialize app and pass control among view controllers is a way to determine at launch time which device model and iOS version and present a specific view for that configuration.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s