Chapter 13
Understanding Colors, Swift Extensions and Dynamic Type

Fun is one of the most important and underrated ingredients in any successful venture. If you're not having fun, then it's probably time to call it quits and try something else.

- Richard Branson

We have built a more eye-catching detail view in the previous chapter. If you haven't completed the exercise, you can download the full project at http://www.appcoda.com/resources/swift55/swiftui-foodpin-detail-view.zip.

In this chapter, we will focus on refining the navigation bar and detail view to make the app UI even better and flexible. Through the exercise, you will learn a number of topics including:

  1. Understanding what a Swift Extension is and how you can apply this Swift feature to write better code.
  2. Using Color Set to define colors in the asset catalog
  3. Using Dynamic Types to adjust the font size automatically

Let's get started.

To access the full version of the book, please get the full copy here. You will also be able to access the full source code of the project.

results matching ""

    No results matching ""