Skip to content

Chapter 2

What we will do:
In this part we will create first three views.

  1. Read Tab bar (Swift) tutorial.
  2. Watch video and repeat in your project all the steps needed to create first three views. download
    Few steps are missing in this film just before 14:37. To center text fields and labels for rows and columns on Settings screen you have to:

    1. Select horizontal stack view as it is showed below
    2. In section Stack View change Distribution from Fill to Fill Equally
    3. Select first vertical stack view (stack view for rows information) as it is showed below
    4. In section Stack View change Alignment from Fill to Center
    5. Repeat last two steps for the second vertical stack view (stack view for columns information)
  3. Download source code for this chapter. download
  4. Look into VC_Settings.swift file and copy its contents to your file.
  5. Watch video to see how the code affects appplication. Repeat in your project all the steps from the video. download