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

SQL Anywhere 12.0.1 » UltraLite - C and C++ Programming » Tutorials » Tutorial: Building an iPhone application using the C++ API

 

Lesson 2: Adding a database to the application

Tto interact with the database, the application follows the MVC pattern prescribed by the Apple framework and defines a Model class.

 Data Model Class
 The DataAccess singleton
 Open the connection to the database
 Database access
 Build the application