Lesson 5: Deleting data from the database

The application is now able to display names from the database, and the user is able to add new names using a custom view. It is not yet possible for the user to remove a name. This lesson adds the deletion functionality using the swipe-to-delete functionality available in many iPhone applications.

 Deleting the name from the database
 Enabling the swipe-to-delete

The application is now complete. The table view displays the list of names in alphabetical order, new names can be added using the NewNameViewController and names can be removed using the familiar swipe-to-delete gesture.