O'Reilly logo

Migrating to Swift from Web Development by Sean Liao, Mark Punak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter    3

Structure Your App

To implement your software, you make design decisions based on how you’d like to structure your app in terms of organizing your code. To decide your iOS app structure up front, the top-down approach and model-view-controller (MVC) design pattern are recommended and actually embedded in the iOS software development kit (SDK) and tools. MVC may not be enforced in most of the popular web development platforms, but the vocabularies should be familiar to both front-end and back-end web developers. The techniques may vary, but the principle is the same: structure your app into three software layers consisting of the model, view, and controller.

In the iOS programming paradigm, you are encouraged to take the so-called ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required