O'Reilly logo

Migrating to Swift from Android by Sean Liao

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    4

Implement Piece by Piece

In the previous chapter, you started with iOS storyboard to lay down the groundwork using navigation patterns. It resulted in a set of connected UIViewController classes set in an MVC framework that mapped to Android counterpart fragments.

In this chapter, you are going to implement each view-controller pair, one piece at a time, with a detailed user interface and business logic that should already be present in the counterpart Android Fragment and the layout file. You will also focus on the following common programming-task mappings from iOS to Android:

  • User interface and common UI widgets
  • Persistent storage options
  • Network and remote services with JSON

User Interface

All those storyboard scenes that you ...

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