O'Reilly logo

Swift 2 for Absolute Beginners by Brad Lees, Gary Bennett

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    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 ...

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