
6 2. The Basics—How Does It All Work?
◾ Since the delegate contains a reference to the delegator, messages can also be sent
in the opposite direction.
Every iOS app has such a delegate class, which from the viewpoint of the
developer marks the actual beginning of program execution. e application:
didFinishLaunchingWithOptions: method, which was stipulated via the
<UIApplicationDelegate> protocol, will be called precisely when our app has been
placed in a state that allows for the processing of the program instructions (among other
things, the Sandbox, an area of memory in which the currently running app can cause
no harm, is created; this pro ...