Chapter 4: What Are Applications Made Of?
Applications are made of code behind a user interface (UI). iOS uses a message-driven system to ask your application for a response at critical moments. App code is a collection of message handlers that creates these responses. The structure of an app links messages to visible screen content. Messages from the UI trigger events in the app. Screen content is dynamic and can be animated or changed as needed.