Chapter    14

A Swift iPhone App

In Chapter 8, you created a basic bookstore iPhone app with Swift. In this chapter, you will add some features to the app to make it a bit more functional and use many of the technologies you have learned in this book, such as creating a class, using delegates and protocols, and using actions and outlets. You’ll also learn about some new techniques such as switches, UIAlertViewController, and landmarks.

Let’s Get Started

The bookstore example in Chapter 8 enabled you to view books in your bookstore in a TableView and then tap the book to see its details. In this chapter, you will add the following capabilities to the Chapter 8 bookstore app:

  • Adding a book
  • Deleting a book
  • Modifying a book

See Figures 14-1 and ...

Get Swift 2 for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.