We use the
Hello Location — Location update example from Chapter 3, Using Location in your iOS Apps — Core Location, to demonstrate the SQLite functionality.
Hello Location — Locationupdate example, and add the SQLite library to your project. The library is named
libsqlite3.0.dylib. Alternatively, you can include the
libsqlite3.dyliblibrary (which is a symbolic link to the
Hello_LocationViewController.hfile, we include the
sqlite3header by importing the
sqlite3.hfile as follows:
sqlite3, and a string to hold the full filename with the following path: ...