O'Reilly logo

Mastering iOS 10 Programming by Donny Wals

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

Adding a Today Extension to your app

In this book's Git repository, you can find an app named The Daily Quote. If you want to follow along with this section of the chapter, it's a great idea to go ahead and check out the starter code for this app. If you look at Main.storyboard and the ViewController.swift file, you'll find that there isn't too much going on there. The interface just contains two labels, and the ViewController grabs a Quote and displays it.

Even though it doesn't look like much, each file contains something cool. If you select one of the labels in the Storyboard and examine its attributes, you'll find that the font for the quote itself is actually Title 1 and the font for the quote created is Caption 1. This is different from the ...

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