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