Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » UltraLite - C and C++ Programming » API reference » Tutorial: Build an iPhone application using the C++ API

 

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.