logo
logo
Sign in

Understanding the structure of an iOS app

avatar
meenati biswal
Understanding the structure of an iOS app

Every iOS app follows a standard structure known as a Model-View-Controller (MVC) pattern. For now, it’s enough to know that a pattern is a standard way of writing software for a particular goal.


Specifically, the Model-View-Controller pattern splits the code of an app into


✓ The data it manages (known as the Model)
✓ The user-interface elements (known as the View)
✓ The Controller, which is the component that sits in between the Model and the View (or views) and translates user actions into updates to the Model and the View

You can see this structure.

The dashed lines indicate linkage. Therefore, the model is linked to the view, and the views are linked to the controller. The solid lines indicate actions. So, the view updates portions of the model while the controller updates the views (or more correctly, causes the views to update themselves). The controller also updates models as needed. iOS extends this pattern so that each app is a hierarchy of controllers, each managing a set of views and potentially a model. ios development course

 

Object-Orientation Concepts 

 

Object-orientation applies to iOS development a couple of ways:

 ✓ iOS apps are (mostly) written in Objective-C, an object-oriented programming language that implements object-oriented concepts. iOS swift training

✓ iOS apps are built around a core design pattern known as the MVC design pattern and follow several other design patterns as well. Design patterns are nothing more than standard templates for designing the classes and objects that make up your system. In other words, design patterns are higher-level concepts built on object-oriented building blocks.

This book guides you through iOS from an object-oriented perspective:

 ✓ explains in depth what object-orientation means, its basic building blocks, and the higher-level concepts of patterns and frameworks. 

✓ introduces you to Objective-C.

✓ takes you deep into object-oriented development using the patterns in the iOS framework. also deconstructs the iOS framework in object-oriented terms.

 ✓ A complete example of object-oriented software development of an iOS app is worked out. 

✓ Other chapters, which focus on the extensive capabilities of iOS, are presented in object-oriented terms.

Learn  for more Information about iOS AT Ios Development Course Online 

 

collect
0
avatar
meenati biswal
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more