could you please post some example of swift with sqlite
IOS app with sqlite
Post a Reply
|Oldest Newest Rating|
· September 16, 2015
First of we will create a variable pointer to structure of type sqlit3 that will act as the reference of our database. We will be working with the database in the view controller for our application as the best place to declare the variable with this need to import the sqlite3.h header file in to any files it is also a good time to declare a NSString property in which to store the path to database. As follow....
@interface DatabaseViewController : UIViewController
@property (strong, nonatomic) NSString *databasePath;
@property (nonatomic) sqlite3 *contactDB;
iOS Development / Swift
This forum is for questions, comments, and general discussion about iOS Development and Swift.
|Bucky Roberts Administrator|