© Kevin Languedoc 2016

Kevin Languedoc, Build iOS Database Apps with Swift and SQLite, 10.1007/978-1-4842-2232-4_3

3. Creating Databases During Runtime

Kevin Languedoc

(1)Montreal, Canada

One of the great features of SQLite is its ability to create databases while the app is running. You can quickly add or modify databases as needed.

In the following sections I will add a data model, a UI for various databases commands and to display the database schema, and the view controllers to handle the operations. The app will be able to create the database and add tables and columns as well as indexes, views, and triggers.

Building the DB Mgr App

I will continue to build on the same iPad project from the previous chapter in order to provide the functionality ...

Get Build iOS Database Apps with Swift and SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.