Book Image

Learning SQLite for iOS

By : Gene Da Rocha
Book Image

Learning SQLite for iOS

By: Gene Da Rocha

Overview of this book

The ability to use SQLite with iOS provides a great opportunity to build amazing apps. Apple's iOS SDK provides native support for SQLite databases. This combination offers the potential to create powerful, data-persistent applications. This book starts with the architecture of SQLite database and introduces you to concepts in SQL . You will find yourself equipped to design your own database system, administer it, and maintain it. Further, you will learn how to operate your SQLite databases smoothly using SQL commands. You will be able to extend the functionality of SQLite by using its vast arsenal of C API calls to build some interesting, exciting, new, and intelligent data-driven applications. Understand how Xcode, HTML5, and Phonegap can be used to build a cross-platform modern app which can benefit from all these technologies - all through creating a complete, customizable application skeleton that you can build on for your own apps.
Table of Contents (15 chapters)
Learning SQLite for iOS
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

An Xcode project with PhoneGap, HTML5, and Swift


Before we start to do anything, you have to start by building the environment and the software tools, and making some minor configurations to get everything ready. The app itself will be simple, and outline the process of creating an app for PhoneGap and HTML5.

You need to download the Xcode software to get the project working.

For Apple users, the Xcode command-line tool, and the Apache Cordova product can be downloaded from: https://itunes.apple.com/us/app/xcode/id497799835?mt=12.

To get the command-lines tools for Xcode and other components, download them from https://developer.apple.com/downloads/index.action. You need to be a registered as an Apple developer to be able to download any extra components. A second and easier method for PhoneGap is to just download the software from the site and install it, as opposed to using the older, command-line way.

The following screenshot shows you Xcode in the iTunes Store:

The next screenshot shows the...