diff --git a/ios/Pods/FMDB/LICENSE.txt b/ios/Pods/FMDB/LICENSE.txt
deleted file mode 100644
index addfc1a..0000000
--- a/ios/Pods/FMDB/LICENSE.txt
+++ /dev/null
@@ -1,28 +0,0 @@
-If you are using FMDB in your project, I'd love to hear about it. Let Gus know
-by sending an email to gus@flyingmeat.com.
-
-And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you
-might consider purchasing a drink of their choosing if FMDB has been useful to
-you.
-
-Finally, and shortly, this is the MIT License.
-
-Copyright (c) 2008-2014 Flying Meat Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/ios/Pods/FMDB/README.markdown b/ios/Pods/FMDB/README.markdown
deleted file mode 100644
index f0d883d..0000000
--- a/ios/Pods/FMDB/README.markdown
+++ /dev/null
@@ -1,397 +0,0 @@
-# FMDB v2.6.2
-
-This is an Objective-C wrapper around SQLite: http://sqlite.org/
-
-## The FMDB Mailing List:
-http://groups.google.com/group/fmdb
-
-## Read the SQLite FAQ:
-http://www.sqlite.org/faq.html
-
-Since FMDB is built on top of SQLite, you're going to want to read this page top to bottom at least once. And while you're there, make sure to bookmark the SQLite Documentation page: http://www.sqlite.org/docs.html
-
-## Contributing
-Do you have an awesome idea that deserves to be in FMDB? You might consider pinging ccgus first to make sure he hasn't already ruled it out for some reason. Otherwise pull requests are great, and make sure you stick to the local coding conventions. However, please be patient and if you haven't heard anything from ccgus for a week or more, you might want to send a note asking what's up.
-
-## CocoaPods
-
-[](https://www.versioneye.com/objective-c/fmdb/2.3)
-[](https://www.versioneye.com/objective-c/fmdb/references)
-
-FMDB can be installed using [CocoaPods](https://cocoapods.org/).
-
-```
-pod 'FMDB'
-# pod 'FMDB/FTS' # FMDB with FTS
-# pod 'FMDB/standalone' # FMDB with latest SQLite amalgamation source
-# pod 'FMDB/standalone/FTS' # FMDB with latest SQLite amalgamation source and FTS
-# pod 'FMDB/SQLCipher' # FMDB with SQLCipher
-```
-
-**If using FMDB with [SQLCipher](https://www.zetetic.net/sqlcipher/) you must use the FMDB/SQLCipher subspec. The FMDB/SQLCipher subspec declares SQLCipher as a dependency, allowing FMDB to be compiled with the `-DSQLITE_HAS_CODEC` flag.**
-
-## FMDB Class Reference:
-http://ccgus.github.io/fmdb/html/index.html
-
-## Automatic Reference Counting (ARC) or Manual Memory Management?
-You can use either style in your Cocoa project. FMDB will figure out which you are using at compile time and do the right thing.
-
-## Usage
-There are three main classes in FMDB:
-
-1. `FMDatabase` - Represents a single SQLite database. Used for executing SQL statements.
-2. `FMResultSet` - Represents the results of executing a query on an `FMDatabase`.
-3. `FMDatabaseQueue` - If you're wanting to perform queries and updates on multiple threads, you'll want to use this class. It's described in the "Thread Safety" section below.
-
-### Database Creation
-An `FMDatabase` is created with a path to a SQLite database file. This path can be one of these three:
-
-1. A file system path. The file does not have to exist on disk. If it does not exist, it is created for you.
-2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed.
-3. `NULL`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed.
-
-(For more information on temporary and in-memory databases, read the sqlite documentation on the subject: http://www.sqlite.org/inmemorydb.html)
-
-```objc
-FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];
-```
-
-### Opening
-
-Before you can interact with the database, it must be opened. Opening fails if there are insufficient resources or permissions to open and/or create the database.
-
-```objc
-if (![db open]) {
- [db release];
- return;
-}
-```
-
-### Executing Updates
-
-Any sort of SQL statement which is not a `SELECT` statement qualifies as an update. This includes `CREATE`, `UPDATE`, `INSERT`, `ALTER`, `COMMIT`, `BEGIN`, `DETACH`, `DELETE`, `DROP`, `END`, `EXPLAIN`, `VACUUM`, and `REPLACE` statements (plus many more). Basically, if your SQL statement does not begin with `SELECT`, it is an update statement.
-
-Executing updates returns a single value, a `BOOL`. A return value of `YES` means the update was successfully executed, and a return value of `NO` means that some error was encountered. You may invoke the `-lastErrorMessage` and `-lastErrorCode` methods to retrieve more information.
-
-### Executing Queries
-
-A `SELECT` statement is a query and is executed via one of the `-executeQuery...` methods.
-
-Executing queries returns an `FMResultSet` object if successful, and `nil` upon failure. You should use the `-lastErrorMessage` and `-lastErrorCode` methods to determine why a query failed.
-
-In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" from one record to the other. With FMDB, the easiest way to do that is like this:
-
-```objc
-FMResultSet *s = [db executeQuery:@"SELECT * FROM myTable"];
-while ([s next]) {
- //retrieve values for each record
-}
-```
-
-You must always invoke `-[FMResultSet next]` before attempting to access the values returned in a query, even if you're only expecting one:
-
-```objc
-FMResultSet *s = [db executeQuery:@"SELECT COUNT(*) FROM myTable"];
-if ([s next]) {
- int totalCount = [s intForColumnIndex:0];
-}
-```
-
-`FMResultSet` has many methods to retrieve data in an appropriate format:
-
-- `intForColumn:`
-- `longForColumn:`
-- `longLongIntForColumn:`
-- `boolForColumn:`
-- `doubleForColumn:`
-- `stringForColumn:`
-- `dateForColumn:`
-- `dataForColumn:`
-- `dataNoCopyForColumn:`
-- `UTF8StringForColumnName:`
-- `objectForColumnName:`
-
-Each of these methods also has a `{type}ForColumnIndex:` variant that is used to retrieve the data based on the position of the column in the results, as opposed to the column's name.
-
-Typically, there's no need to `-close` an `FMResultSet` yourself, since that happens when either the result set is deallocated, or the parent database is closed.
-
-### Closing
-
-When you have finished executing queries and updates on the database, you should `-close` the `FMDatabase` connection so that SQLite will relinquish any resources it has acquired during the course of its operation.
-
-```objc
-[db close];
-```
-
-### Transactions
-
-`FMDatabase` can begin and commit a transaction by invoking one of the appropriate methods or executing a begin/end transaction statement.
-
-### Multiple Statements and Batch Stuff
-
-You can use `FMDatabase`'s executeStatements:withResultBlock: to do multiple statements in a string:
-
-```objc
-NSString *sql = @"create table bulktest1 (id integer primary key autoincrement, x text);"
- "create table bulktest2 (id integer primary key autoincrement, y text);"
- "create table bulktest3 (id integer primary key autoincrement, z text);"
- "insert into bulktest1 (x) values ('XXX');"
- "insert into bulktest2 (y) values ('YYY');"
- "insert into bulktest3 (z) values ('ZZZ');";
-
-success = [db executeStatements:sql];
-
-sql = @"select count(*) as count from bulktest1;"
- "select count(*) as count from bulktest2;"
- "select count(*) as count from bulktest3;";
-
-success = [self.db executeStatements:sql withResultBlock:^int(NSDictionary *dictionary) {
- NSInteger count = [dictionary[@"count"] integerValue];
- XCTAssertEqual(count, 1, @"expected one record for dictionary %@", dictionary);
- return 0;
-}];
-```
-
-### Data Sanitization
-
-When providing a SQL statement to FMDB, you should not attempt to "sanitize" any values before insertion. Instead, you should use the standard SQLite binding syntax:
-
-```sql
-INSERT INTO myTable VALUES (?, ?, ?, ?)
-```
-
-The `?` character is recognized by SQLite as a placeholder for a value to be inserted. The execution methods all accept a variable number of arguments (or a representation of those arguments, such as an `NSArray`, `NSDictionary`, or a `va_list`), which are properly escaped for you.
-
-And, to use that SQL with the `?` placeholders from Objective-C:
-
-```objc
-NSInteger identifier = 42;
-NSString *name = @"Liam O'Flaherty (\"the famous Irish author\")";
-NSDate *date = [NSDate date];
-NSString *comment = nil;
-
-BOOL success = [db executeUpdate:@"INSERT INTO authors (identifier, name, date, comment) VALUES (?, ?, ?, ?)", @(identifier), name, date, comment ?: [NSNull null]];
-if (!success) {
- NSLog(@"error = %@", [db lastErrorMessage]);
-}
-```
-
-> **Note:** Fundamental data types, like the `NSInteger` variable `identifier`, should be as a `NSNumber` objects, achieved by using the `@` syntax, shown above. Or you can use the `[NSNumber numberWithInt:identifier]` syntax, too.
->
-> Likewise, SQL `NULL` values should be inserted as `[NSNull null]`. For example, in the case of `comment` which might be `nil` (and is in this example), you can use the `comment ?: [NSNull null]` syntax, which will insert the string if `comment` is not `nil`, but will insert `[NSNull null]` if it is `nil`.
-
-In Swift, you would use `executeUpdate(values:)`, which not only is a concise Swift syntax, but also `throws` errors for proper Swift 2 error handling:
-
-```swift
-do {
- let identifier = 42
- let name = "Liam O'Flaherty (\"the famous Irish author\")"
- let date = NSDate()
- let comment: String? = nil
-
- try db.executeUpdate("INSERT INTO authors (identifier, name, date, comment) VALUES (?, ?, ?, ?)", values: [identifier, name, date, comment ?? NSNull()])
-} catch {
- print("error = \(error)")
-}
-```
-
-> **Note:** In Swift, you don't have to wrap fundamental numeric types like you do in Objective-C. But if you are going to insert an optional string, you would probably use the `comment ?? NSNull()` syntax (i.e., if it is `nil`, use `NSNull`, otherwise use the string).
-
-Alternatively, you may use named parameters syntax:
-
-```sql
-INSERT INTO authors (identifier, name, date, comment) VALUES (:identifier, :name, :date, :comment)
-```
-
-The parameters *must* start with a colon. SQLite itself supports other characters, but internally the dictionary keys are prefixed with a colon, do **not** include the colon in your dictionary keys.
-
-```objc
-NSDictionary *arguments = @{@"identifier": @(identifier), @"name": name, @"date": date, @"comment": comment ?: [NSNull null]};
-BOOL success = [db executeUpdate:@"INSERT INTO authors (identifier, name, date, comment) VALUES (:identifier, :name, :date, :comment)" withParameterDictionary:arguments];
-if (!success) {
- NSLog(@"error = %@", [db lastErrorMessage]);
-}
-```
-
-The key point is that one should not use `NSString` method `stringWithFormat` to manually insert values into the SQL statement, itself. Nor should one Swift string interpolation to insert values into the SQL. Use `?` placeholders for values to be inserted into the database (or used in `WHERE` clauses in `SELECT` statements).
-
-
Using FMDatabaseQueue and Thread Safety.
-
-Using a single instance of `FMDatabase` from multiple threads at once is a bad idea. It has always been OK to make a `FMDatabase` object *per thread*. Just don't share a single instance across threads, and definitely not across multiple threads at the same time. Bad things will eventually happen and you'll eventually get something to crash, or maybe get an exception, or maybe meteorites will fall out of the sky and hit your Mac Pro. *This would suck*.
-
-**So don't instantiate a single `FMDatabase` object and use it across multiple threads.**
-
-Instead, use `FMDatabaseQueue`. Instantiate a single `FMDatabaseQueue` and use it across multiple threads. The `FMDatabaseQueue` object will synchronize and coordinate access across the multiple threads. Here's how to use it:
-
-First, make your queue.
-
-```objc
-FMDatabaseQueue *queue = [FMDatabaseQueue databaseQueueWithPath:aPath];
-```
-
-Then use it like so:
-
-
-```objc
-[queue inDatabase:^(FMDatabase *db) {
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @1];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @2];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @3];
-
- FMResultSet *rs = [db executeQuery:@"select * from foo"];
- while ([rs next]) {
- …
- }
-}];
-```
-
-An easy way to wrap things up in a transaction can be done like this:
-
-```objc
-[queue inTransaction:^(FMDatabase *db, BOOL *rollback) {
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @1];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @2];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @3];
-
- if (whoopsSomethingWrongHappened) {
- *rollback = YES;
- return;
- }
- // etc…
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", @4];
-}];
-```
-
-The Swift equivalent would be:
-
-```swift
-queue.inTransaction { db, rollback in
- do {
- try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [1])
- try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [2])
- try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [3])
-
- if whoopsSomethingWrongHappened {
- rollback.memory = true
- return
- }
-
- try db.executeUpdate("INSERT INTO myTable VALUES (?)", values: [4])
- } catch {
- rollback.memory = true
- print(error)
- }
-}
-```
-
-`FMDatabaseQueue` will run the blocks on a serialized queue (hence the name of the class). So if you call `FMDatabaseQueue`'s methods from multiple threads at the same time, they will be executed in the order they are received. This way queries and updates won't step on each other's toes, and every one is happy.
-
-**Note:** The calls to `FMDatabaseQueue`'s methods are blocking. So even though you are passing along blocks, they will **not** be run on another thread.
-
-## Making custom sqlite functions, based on blocks.
-
-You can do this! For an example, look for `-makeFunctionNamed:` in main.m
-
-## Swift
-
-You can use FMDB in Swift projects too.
-
-To do this, you must:
-
-1. Copy the relevant `.m` and `.h` files from the FMDB `src` folder into your project.
-
- You can copy all of them (which is easiest), or only the ones you need. Likely you will need [`FMDatabase`](http://ccgus.github.io/fmdb/html/Classes/FMDatabase.html) and [`FMResultSet`](http://ccgus.github.io/fmdb/html/Classes/FMResultSet.html) at a minimum. [`FMDatabaseAdditions`](http://ccgus.github.io/fmdb/html/Categories/FMDatabase+FMDatabaseAdditions.html) provides some very useful convenience methods, so you will likely want that, too. If you are doing multithreaded access to a database, [`FMDatabaseQueue`](http://ccgus.github.io/fmdb/html/Classes/FMDatabaseQueue.html) is quite useful, too. If you choose to not copy all of the files from the `src` directory, though, you may want to update `FMDB.h` to only reference the files that you included in your project.
-
- Note, if you're copying all of the files from the `src` folder into to your project (which is recommended), you may want to drag the individual files into your project, not the folder, itself, because if you drag the folder, you won't be prompted to add the bridging header (see next point).
-
-2. If prompted to create a "bridging header", you should do so. If not prompted and if you don't already have a bridging header, add one.
-
- For more information on bridging headers, see [Swift and Objective-C in the Same Project](https://developer.apple.com/library/ios/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html#//apple_ref/doc/uid/TP40014216-CH10-XID_76).
-
-3. In your bridging header, add a line that says:
- ```objc
- #import "FMDB.h"
- ```
-
-4. Use the variations of `executeQuery` and `executeUpdate` with the `sql` and `values` parameters with `try` pattern, as shown below. These renditions of `executeQuery` and `executeUpdate` both `throw` errors in true Swift 2 fashion.
-
-If you do the above, you can then write Swift code that uses `FMDatabase`. For example:
-
-```swift
-let documents = try! NSFileManager.defaultManager().URLForDirectory(.DocumentDirectory, inDomain: .UserDomainMask, appropriateForURL: nil, create: false)
-let fileURL = documents.URLByAppendingPathComponent("test.sqlite")
-
-let database = FMDatabase(path: fileURL.path)
-
-if !database.open() {
- print("Unable to open database")
- return
-}
-
-do {
- try database.executeUpdate("create table test(x text, y text, z text)", values: nil)
- try database.executeUpdate("insert into test (x, y, z) values (?, ?, ?)", values: ["a", "b", "c"])
- try database.executeUpdate("insert into test (x, y, z) values (?, ?, ?)", values: ["e", "f", "g"])
-
- let rs = try database.executeQuery("select x, y, z from test", values: nil)
- while rs.next() {
- let x = rs.stringForColumn("x")
- let y = rs.stringForColumn("y")
- let z = rs.stringForColumn("z")
- print("x = \(x); y = \(y); z = \(z)")
- }
-} catch let error as NSError {
- print("failed: \(error.localizedDescription)")
-}
-
-database.close()
-```
-
-## History
-
-The history and changes are availbe on its [GitHub page](https://github.com/ccgus/fmdb) and are summarized in the "CHANGES_AND_TODO_LIST.txt" file.
-
-## Contributors
-
-The contributors to FMDB are contained in the "Contributors.txt" file.
-
-## Additional projects using FMDB, which might be interesting to the discerning developer.
-
- * FMDBMigrationManager, A SQLite schema migration management system for FMDB: https://github.com/layerhq/FMDBMigrationManager
- * FCModel, An alternative to Core Data for people who like having direct SQL access: https://github.com/marcoarment/FCModel
-
-## Quick notes on FMDB's coding style
-
-Spaces, not tabs. Square brackets, not dot notation. Look at what FMDB already does with curly brackets and such, and stick to that style.
-
-## Reporting bugs
-
-Reduce your bug down to the smallest amount of code possible. You want to make it super easy for the developers to see and reproduce your bug. If it helps, pretend that the person who can fix your bug is active on shipping 3 major products, works on a handful of open source projects, has a newborn baby, and is generally very very busy.
-
-And we've even added a template function to main.m (FMDBReportABugFunction) in the FMDB distribution to help you out:
-
-* Open up fmdb project in Xcode.
-* Open up main.m and modify the FMDBReportABugFunction to reproduce your bug.
- * Setup your table(s) in the code.
- * Make your query or update(s).
- * Add some assertions which demonstrate the bug.
-
-Then you can bring it up on the FMDB mailing list by showing your nice and compact FMDBReportABugFunction, or you can report the bug via the github FMDB bug reporter.
-
-**Optional:**
-
-Figure out where the bug is, fix it, and send a patch in or bring that up on the mailing list. Make sure all the other tests run after your modifications.
-
-## Support
-
-The support channels for FMDB are the mailing list (see above), filing a bug here, or maybe on Stack Overflow. So that is to say, support is provided by the community and on a voluntary basis.
-
-FMDB development is overseen by Gus Mueller of Flying Meat. If FMDB been helpful to you, consider purchasing an app from FM or telling all your friends about it.
-
-## License
-
-The license for FMDB is contained in the "License.txt" file.
-
-If you happen to come across either Gus Mueller or Rob Ryan in a bar, you might consider purchasing a drink of their choosing if FMDB has been useful to you.
-
-(The drink is for them of course, shame on you for trying to keep it.)
diff --git a/ios/Pods/FMDB/src/fmdb/FMDB.h b/ios/Pods/FMDB/src/fmdb/FMDB.h
deleted file mode 100644
index 1ff5465..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDB.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#import
-
-FOUNDATION_EXPORT double FMDBVersionNumber;
-FOUNDATION_EXPORT const unsigned char FMDBVersionString[];
-
-#import "FMDatabase.h"
-#import "FMResultSet.h"
-#import "FMDatabaseAdditions.h"
-#import "FMDatabaseQueue.h"
-#import "FMDatabasePool.h"
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabase.h b/ios/Pods/FMDB/src/fmdb/FMDatabase.h
deleted file mode 100644
index 7dd5f8c..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabase.h
+++ /dev/null
@@ -1,1162 +0,0 @@
-#import
-#import "FMResultSet.h"
-#import "FMDatabasePool.h"
-
-
-#if ! __has_feature(objc_arc)
- #define FMDBAutorelease(__v) ([__v autorelease]);
- #define FMDBReturnAutoreleased FMDBAutorelease
-
- #define FMDBRetain(__v) ([__v retain]);
- #define FMDBReturnRetained FMDBRetain
-
- #define FMDBRelease(__v) ([__v release]);
-
- #define FMDBDispatchQueueRelease(__v) (dispatch_release(__v));
-#else
- // -fobjc-arc
- #define FMDBAutorelease(__v)
- #define FMDBReturnAutoreleased(__v) (__v)
-
- #define FMDBRetain(__v)
- #define FMDBReturnRetained(__v) (__v)
-
- #define FMDBRelease(__v)
-
-// If OS_OBJECT_USE_OBJC=1, then the dispatch objects will be treated like ObjC objects
-// and will participate in ARC.
-// See the section on "Dispatch Queues and Automatic Reference Counting" in "Grand Central Dispatch (GCD) Reference" for details.
- #if OS_OBJECT_USE_OBJC
- #define FMDBDispatchQueueRelease(__v)
- #else
- #define FMDBDispatchQueueRelease(__v) (dispatch_release(__v));
- #endif
-#endif
-
-#if !__has_feature(objc_instancetype)
- #define instancetype id
-#endif
-
-
-typedef int(^FMDBExecuteStatementsCallbackBlock)(NSDictionary *resultsDictionary);
-
-
-/** A SQLite ([http://sqlite.org/](http://sqlite.org/)) Objective-C wrapper.
-
- ### Usage
- The three main classes in FMDB are:
-
- - `FMDatabase` - Represents a single SQLite database. Used for executing SQL statements.
- - `` - Represents the results of executing a query on an `FMDatabase`.
- - `` - If you want to perform queries and updates on multiple threads, you'll want to use this class.
-
- ### See also
-
- - `` - A pool of `FMDatabase` objects.
- - `` - A wrapper for `sqlite_stmt`.
-
- ### External links
-
- - [FMDB on GitHub](https://github.com/ccgus/fmdb) including introductory documentation
- - [SQLite web site](http://sqlite.org/)
- - [FMDB mailing list](http://groups.google.com/group/fmdb)
- - [SQLite FAQ](http://www.sqlite.org/faq.html)
-
- @warning Do not instantiate a single `FMDatabase` object and use it across multiple threads. Instead, use ``.
-
- */
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wobjc-interface-ivars"
-
-
-@interface FMDatabase : NSObject {
-
- void* _db;
- NSString* _databasePath;
- BOOL _logsErrors;
- BOOL _crashOnErrors;
- BOOL _traceExecution;
- BOOL _checkedOut;
- BOOL _shouldCacheStatements;
- BOOL _isExecutingStatement;
- BOOL _inTransaction;
- NSTimeInterval _maxBusyRetryTimeInterval;
- NSTimeInterval _startBusyRetryTime;
-
- NSMutableDictionary *_cachedStatements;
- NSMutableSet *_openResultSets;
- NSMutableSet *_openFunctions;
-
- NSDateFormatter *_dateFormat;
-}
-
-///-----------------
-/// @name Properties
-///-----------------
-
-/** Whether should trace execution */
-
-@property (atomic, assign) BOOL traceExecution;
-
-/** Whether checked out or not */
-
-@property (atomic, assign) BOOL checkedOut;
-
-/** Crash on errors */
-
-@property (atomic, assign) BOOL crashOnErrors;
-
-/** Logs errors */
-
-@property (atomic, assign) BOOL logsErrors;
-
-/** Dictionary of cached statements */
-
-@property (atomic, retain) NSMutableDictionary *cachedStatements;
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/** Create a `FMDatabase` object.
-
- An `FMDatabase` is created with a path to a SQLite database file. This path can be one of these three:
-
- 1. A file system path. The file does not have to exist on disk. If it does not exist, it is created for you.
- 2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed.
- 3. `nil`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed.
-
- For example, to create/open a database in your Mac OS X `tmp` folder:
-
- FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];
-
- Or, in iOS, you might open a database in the app's `Documents` directory:
-
- NSString *docsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
- NSString *dbPath = [docsPath stringByAppendingPathComponent:@"test.db"];
- FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
-
- (For more information on temporary and in-memory databases, read the sqlite documentation on the subject: [http://www.sqlite.org/inmemorydb.html](http://www.sqlite.org/inmemorydb.html))
-
- @param inPath Path of database file
-
- @return `FMDatabase` object if successful; `nil` if failure.
-
- */
-
-+ (instancetype)databaseWithPath:(NSString*)inPath;
-
-/** Initialize a `FMDatabase` object.
-
- An `FMDatabase` is created with a path to a SQLite database file. This path can be one of these three:
-
- 1. A file system path. The file does not have to exist on disk. If it does not exist, it is created for you.
- 2. An empty string (`@""`). An empty database is created at a temporary location. This database is deleted with the `FMDatabase` connection is closed.
- 3. `nil`. An in-memory database is created. This database will be destroyed with the `FMDatabase` connection is closed.
-
- For example, to create/open a database in your Mac OS X `tmp` folder:
-
- FMDatabase *db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];
-
- Or, in iOS, you might open a database in the app's `Documents` directory:
-
- NSString *docsPath = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)[0];
- NSString *dbPath = [docsPath stringByAppendingPathComponent:@"test.db"];
- FMDatabase *db = [FMDatabase databaseWithPath:dbPath];
-
- (For more information on temporary and in-memory databases, read the sqlite documentation on the subject: [http://www.sqlite.org/inmemorydb.html](http://www.sqlite.org/inmemorydb.html))
-
- @param inPath Path of database file
-
- @return `FMDatabase` object if successful; `nil` if failure.
-
- */
-
-- (instancetype)initWithPath:(NSString*)inPath;
-
-
-///-----------------------------------
-/// @name Opening and closing database
-///-----------------------------------
-
-/** Opening a new database connection
-
- The database is opened for reading and writing, and is created if it does not already exist.
-
- @return `YES` if successful, `NO` on error.
-
- @see [sqlite3_open()](http://sqlite.org/c3ref/open.html)
- @see openWithFlags:
- @see close
- */
-
-- (BOOL)open;
-
-/** Opening a new database connection with flags and an optional virtual file system (VFS)
-
- @param flags one of the following three values, optionally combined with the `SQLITE_OPEN_NOMUTEX`, `SQLITE_OPEN_FULLMUTEX`, `SQLITE_OPEN_SHAREDCACHE`, `SQLITE_OPEN_PRIVATECACHE`, and/or `SQLITE_OPEN_URI` flags:
-
- `SQLITE_OPEN_READONLY`
-
- The database is opened in read-only mode. If the database does not already exist, an error is returned.
-
- `SQLITE_OPEN_READWRITE`
-
- The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
-
- `SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE`
-
- The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for `open` method.
-
- @return `YES` if successful, `NO` on error.
-
- @see [sqlite3_open_v2()](http://sqlite.org/c3ref/open.html)
- @see open
- @see close
- */
-
-- (BOOL)openWithFlags:(int)flags;
-
-/** Opening a new database connection with flags and an optional virtual file system (VFS)
-
- @param flags one of the following three values, optionally combined with the `SQLITE_OPEN_NOMUTEX`, `SQLITE_OPEN_FULLMUTEX`, `SQLITE_OPEN_SHAREDCACHE`, `SQLITE_OPEN_PRIVATECACHE`, and/or `SQLITE_OPEN_URI` flags:
-
- `SQLITE_OPEN_READONLY`
-
- The database is opened in read-only mode. If the database does not already exist, an error is returned.
-
- `SQLITE_OPEN_READWRITE`
-
- The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.
-
- `SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE`
-
- The database is opened for reading and writing, and is created if it does not already exist. This is the behavior that is always used for `open` method.
-
- @param vfsName If vfs is given the value is passed to the vfs parameter of sqlite3_open_v2.
-
- @return `YES` if successful, `NO` on error.
-
- @see [sqlite3_open_v2()](http://sqlite.org/c3ref/open.html)
- @see open
- @see close
- */
-
-- (BOOL)openWithFlags:(int)flags vfs:(NSString *)vfsName;
-
-/** Closing a database connection
-
- @return `YES` if success, `NO` on error.
-
- @see [sqlite3_close()](http://sqlite.org/c3ref/close.html)
- @see open
- @see openWithFlags:
- */
-
-- (BOOL)close;
-
-/** Test to see if we have a good connection to the database.
-
- This will confirm whether:
-
- - is database open
- - if open, it will try a simple SELECT statement and confirm that it succeeds.
-
- @return `YES` if everything succeeds, `NO` on failure.
- */
-
-- (BOOL)goodConnection;
-
-
-///----------------------
-/// @name Perform updates
-///----------------------
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html), [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) to bind values to `?` placeholders in the SQL with the optional list of parameters, and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update.
-
- The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method.
-
- @param sql The SQL to be performed, with optional `?` placeholders.
-
- @param outErr A reference to the `NSError` pointer to be updated with an auto released `NSError` object if an error if an error occurs. If `nil`, no `NSError` object will be returned.
-
- @param ... Optional parameters to bind to `?` placeholders in the SQL statement. These should be Objective-C objects (e.g. `NSString`, `NSNumber`, etc.), not fundamental C data types (e.g. `int`, `char *`, etc.).
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
- @see [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html)
- */
-
-- (BOOL)executeUpdate:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ...;
-
-/** Execute single update statement
-
- @see executeUpdate:withErrorAndBindings:
-
- @warning **Deprecated**: Please use `` instead.
- */
-
-- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ... __attribute__ ((deprecated));
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html), [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) to bind values to `?` placeholders in the SQL with the optional list of parameters, and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update.
-
- The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method.
-
- @param sql The SQL to be performed, with optional `?` placeholders.
-
- @param ... Optional parameters to bind to `?` placeholders in the SQL statement. These should be Objective-C objects (e.g. `NSString`, `NSNumber`, etc.), not fundamental C data types (e.g. `int`, `char *`, etc.).
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
- @see [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html)
-
- @note This technique supports the use of `?` placeholders in the SQL, automatically binding any supplied value parameters to those placeholders. This approach is more robust than techniques that entail using `stringWithFormat` to manually build SQL statements, which can be problematic if the values happened to include any characters that needed to be quoted.
-
- @note If you want to use this from Swift, please note that you must include `FMDatabaseVariadic.swift` in your project. Without that, you cannot use this method directly, and instead have to use methods such as ``.
- */
-
-- (BOOL)executeUpdate:(NSString*)sql, ...;
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. Unlike the other `executeUpdate` methods, this uses printf-style formatters (e.g. `%s`, `%d`, etc.) to build the SQL. Do not use `?` placeholders in the SQL if you use this method.
-
- @param format The SQL to be performed, with `printf`-style escape sequences.
-
- @param ... Optional parameters to bind to use in conjunction with the `printf`-style escape sequences in the SQL statement.
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see executeUpdate:
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
-
- @note This method does not technically perform a traditional printf-style replacement. What this method actually does is replace the printf-style percent sequences with a SQLite `?` placeholder, and then bind values to that placeholder. Thus the following command
-
- [db executeUpdateWithFormat:@"INSERT INTO test (name) VALUES (%@)", @"Gus"];
-
- is actually replacing the `%@` with `?` placeholder, and then performing something equivalent to ``
-
- [db executeUpdate:@"INSERT INTO test (name) VALUES (?)", @"Gus"];
-
- There are two reasons why this distinction is important. First, the printf-style escape sequences can only be used where it is permissible to use a SQLite `?` placeholder. You can use it only for values in SQL statements, but not for table names or column names or any other non-value context. This method also cannot be used in conjunction with `pragma` statements and the like. Second, note the lack of quotation marks in the SQL. The `VALUES` clause was _not_ `VALUES ('%@')` (like you might have to do if you built a SQL statement using `NSString` method `stringWithFormat`), but rather simply `VALUES (%@)`.
- */
-
-- (BOOL)executeUpdateWithFormat:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2);
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) binding any `?` placeholders in the SQL with the optional list of parameters.
-
- The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method.
-
- @param sql The SQL to be performed, with optional `?` placeholders.
-
- @param arguments A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement.
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see executeUpdate:values:error:
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
- */
-
-- (BOOL)executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments;
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) binding any `?` placeholders in the SQL with the optional list of parameters.
-
- The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method.
-
- This is similar to ``, except that this also accepts a pointer to a `NSError` pointer, so that errors can be returned.
-
- In Swift 2, this throws errors, as if it were defined as follows:
-
- `func executeUpdate(sql: String!, values: [AnyObject]!) throws -> Bool`
-
- @param sql The SQL to be performed, with optional `?` placeholders.
-
- @param values A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement.
-
- @param error A `NSError` object to receive any error object (if any).
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
-
- */
-
-- (BOOL)executeUpdate:(NSString*)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error;
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. Unlike the other `executeUpdate` methods, this uses printf-style formatters (e.g. `%s`, `%d`, etc.) to build the SQL.
-
- The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method.
-
- @param sql The SQL to be performed, with optional `?` placeholders.
-
- @param arguments A `NSDictionary` of objects keyed by column names that will be used when binding values to the `?` placeholders in the SQL statement.
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
-*/
-
-- (BOOL)executeUpdate:(NSString*)sql withParameterDictionary:(NSDictionary *)arguments;
-
-
-/** Execute single update statement
-
- This method executes a single SQL update statement (i.e. any SQL that does not return results, such as `UPDATE`, `INSERT`, or `DELETE`. This method employs [`sqlite3_prepare_v2`](http://sqlite.org/c3ref/prepare.html) and [`sqlite_step`](http://sqlite.org/c3ref/step.html) to perform the update. Unlike the other `executeUpdate` methods, this uses printf-style formatters (e.g. `%s`, `%d`, etc.) to build the SQL.
-
- The optional values provided to this method should be objects (e.g. `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects), not fundamental data types (e.g. `int`, `long`, `NSInteger`, etc.). This method automatically handles the aforementioned object types, and all other object types will be interpreted as text values using the object's `description` method.
-
- @param sql The SQL to be performed, with optional `?` placeholders.
-
- @param args A `va_list` of arguments.
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
- */
-
-- (BOOL)executeUpdate:(NSString*)sql withVAList: (va_list)args;
-
-/** Execute multiple SQL statements
-
- This executes a series of SQL statements that are combined in a single string (e.g. the SQL generated by the `sqlite3` command line `.dump` command). This accepts no value parameters, but rather simply expects a single string with multiple SQL statements, each terminated with a semicolon. This uses `sqlite3_exec`.
-
- @param sql The SQL to be performed
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see executeStatements:withResultBlock:
- @see [sqlite3_exec()](http://sqlite.org/c3ref/exec.html)
-
- */
-
-- (BOOL)executeStatements:(NSString *)sql;
-
-/** Execute multiple SQL statements with callback handler
-
- This executes a series of SQL statements that are combined in a single string (e.g. the SQL generated by the `sqlite3` command line `.dump` command). This accepts no value parameters, but rather simply expects a single string with multiple SQL statements, each terminated with a semicolon. This uses `sqlite3_exec`.
-
- @param sql The SQL to be performed.
- @param block A block that will be called for any result sets returned by any SQL statements.
- Note, if you supply this block, it must return integer value, zero upon success (this would be a good opportunity to use SQLITE_OK),
- non-zero value upon failure (which will stop the bulk execution of the SQL). If a statement returns values, the block will be called with the results from the query in NSDictionary *resultsDictionary.
- This may be `nil` if you don't care to receive any results.
-
- @return `YES` upon success; `NO` upon failure. If failed, you can call ``,
- ``, or `` for diagnostic information regarding the failure.
-
- @see executeStatements:
- @see [sqlite3_exec()](http://sqlite.org/c3ref/exec.html)
-
- */
-
-- (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block;
-
-/** Last insert rowid
-
- Each entry in an SQLite table has a unique 64-bit signed integer key called the "rowid". The rowid is always available as an undeclared column named `ROWID`, `OID`, or `_ROWID_` as long as those names are not also used by explicitly declared columns. If the table has a column of type `INTEGER PRIMARY KEY` then that column is another alias for the rowid.
-
- This routine returns the rowid of the most recent successful `INSERT` into the database from the database connection in the first argument. As of SQLite version 3.7.7, this routines records the last insert rowid of both ordinary tables and virtual tables. If no successful `INSERT`s have ever occurred on that database connection, zero is returned.
-
- @return The rowid of the last inserted row.
-
- @see [sqlite3_last_insert_rowid()](http://sqlite.org/c3ref/last_insert_rowid.html)
-
- */
-
-- (int64_t)lastInsertRowId;
-
-/** The number of rows changed by prior SQL statement.
-
- This function returns the number of database rows that were changed or inserted or deleted by the most recently completed SQL statement on the database connection specified by the first parameter. Only changes that are directly specified by the INSERT, UPDATE, or DELETE statement are counted.
-
- @return The number of rows changed by prior SQL statement.
-
- @see [sqlite3_changes()](http://sqlite.org/c3ref/changes.html)
-
- */
-
-- (int)changes;
-
-
-///-------------------------
-/// @name Retrieving results
-///-------------------------
-
-/** Execute select statement
-
- Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed.
-
- In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other.
-
- This method employs [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html) for any optional value parameters. This properly escapes any characters that need escape sequences (e.g. quotation marks), which eliminates simple SQL errors as well as protects against SQL injection attacks. This method natively handles `NSString`, `NSNumber`, `NSNull`, `NSDate`, and `NSData` objects. All other object types will be interpreted as text values using the object's `description` method.
-
- @param sql The SELECT statement to be performed, with optional `?` placeholders.
-
- @param ... Optional parameters to bind to `?` placeholders in the SQL statement. These should be Objective-C objects (e.g. `NSString`, `NSNumber`, etc.), not fundamental C data types (e.g. `int`, `char *`, etc.).
-
- @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see FMResultSet
- @see [`FMResultSet next`](<[FMResultSet next]>)
- @see [`sqlite3_bind`](http://sqlite.org/c3ref/bind_blob.html)
-
- @note If you want to use this from Swift, please note that you must include `FMDatabaseVariadic.swift` in your project. Without that, you cannot use this method directly, and instead have to use methods such as ``.
- */
-
-- (FMResultSet *)executeQuery:(NSString*)sql, ...;
-
-/** Execute select statement
-
- Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed.
-
- In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other.
-
- @param format The SQL to be performed, with `printf`-style escape sequences.
-
- @param ... Optional parameters to bind to use in conjunction with the `printf`-style escape sequences in the SQL statement.
-
- @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see executeQuery:
- @see FMResultSet
- @see [`FMResultSet next`](<[FMResultSet next]>)
-
- @note This method does not technically perform a traditional printf-style replacement. What this method actually does is replace the printf-style percent sequences with a SQLite `?` placeholder, and then bind values to that placeholder. Thus the following command
-
- [db executeQueryWithFormat:@"SELECT * FROM test WHERE name=%@", @"Gus"];
-
- is actually replacing the `%@` with `?` placeholder, and then performing something equivalent to ``
-
- [db executeQuery:@"SELECT * FROM test WHERE name=?", @"Gus"];
-
- There are two reasons why this distinction is important. First, the printf-style escape sequences can only be used where it is permissible to use a SQLite `?` placeholder. You can use it only for values in SQL statements, but not for table names or column names or any other non-value context. This method also cannot be used in conjunction with `pragma` statements and the like. Second, note the lack of quotation marks in the SQL. The `WHERE` clause was _not_ `WHERE name='%@'` (like you might have to do if you built a SQL statement using `NSString` method `stringWithFormat`), but rather simply `WHERE name=%@`.
-
- */
-
-- (FMResultSet *)executeQueryWithFormat:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2);
-
-/** Execute select statement
-
- Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed.
-
- In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other.
-
- @param sql The SELECT statement to be performed, with optional `?` placeholders.
-
- @param arguments A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement.
-
- @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see -executeQuery:values:error:
- @see FMResultSet
- @see [`FMResultSet next`](<[FMResultSet next]>)
- */
-
-- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments;
-
-/** Execute select statement
-
- Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed.
-
- In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other.
-
- This is similar to ``, except that this also accepts a pointer to a `NSError` pointer, so that errors can be returned.
-
- In Swift 2, this throws errors, as if it were defined as follows:
-
- `func executeQuery(sql: String!, values: [AnyObject]!) throws -> FMResultSet!`
-
- @param sql The SELECT statement to be performed, with optional `?` placeholders.
-
- @param values A `NSArray` of objects to be used when binding values to the `?` placeholders in the SQL statement.
-
- @param error A `NSError` object to receive any error object (if any).
-
- @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see FMResultSet
- @see [`FMResultSet next`](<[FMResultSet next]>)
-
- @note When called from Swift, only use the first two parameters, `sql` and `values`. This but throws the error.
-
- */
-
-- (FMResultSet *)executeQuery:(NSString *)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error;
-
-/** Execute select statement
-
- Executing queries returns an `` object if successful, and `nil` upon failure. Like executing updates, there is a variant that accepts an `NSError **` parameter. Otherwise you should use the `` and `` methods to determine why a query failed.
-
- In order to iterate through the results of your query, you use a `while()` loop. You also need to "step" (via `<[FMResultSet next]>`) from one record to the other.
-
- @param sql The SELECT statement to be performed, with optional `?` placeholders.
-
- @param arguments A `NSDictionary` of objects keyed by column names that will be used when binding values to the `?` placeholders in the SQL statement.
-
- @return A `` for the result set upon success; `nil` upon failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see FMResultSet
- @see [`FMResultSet next`](<[FMResultSet next]>)
- */
-
-- (FMResultSet *)executeQuery:(NSString *)sql withParameterDictionary:(NSDictionary *)arguments;
-
-
-// Documentation forthcoming.
-- (FMResultSet *)executeQuery:(NSString*)sql withVAList: (va_list)args;
-
-///-------------------
-/// @name Transactions
-///-------------------
-
-/** Begin a transaction
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see commit
- @see rollback
- @see beginDeferredTransaction
- @see inTransaction
- */
-
-- (BOOL)beginTransaction;
-
-/** Begin a deferred transaction
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see commit
- @see rollback
- @see beginTransaction
- @see inTransaction
- */
-
-- (BOOL)beginDeferredTransaction;
-
-/** Commit a transaction
-
- Commit a transaction that was initiated with either `` or with ``.
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see beginTransaction
- @see beginDeferredTransaction
- @see rollback
- @see inTransaction
- */
-
-- (BOOL)commit;
-
-/** Rollback a transaction
-
- Rollback a transaction that was initiated with either `` or with ``.
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see beginTransaction
- @see beginDeferredTransaction
- @see commit
- @see inTransaction
- */
-
-- (BOOL)rollback;
-
-/** Identify whether currently in a transaction or not
-
- @return `YES` if currently within transaction; `NO` if not.
-
- @see beginTransaction
- @see beginDeferredTransaction
- @see commit
- @see rollback
- */
-
-- (BOOL)inTransaction;
-
-
-///----------------------------------------
-/// @name Cached statements and result sets
-///----------------------------------------
-
-/** Clear cached statements */
-
-- (void)clearCachedStatements;
-
-/** Close all open result sets */
-
-- (void)closeOpenResultSets;
-
-/** Whether database has any open result sets
-
- @return `YES` if there are open result sets; `NO` if not.
- */
-
-- (BOOL)hasOpenResultSets;
-
-/** Return whether should cache statements or not
-
- @return `YES` if should cache statements; `NO` if not.
- */
-
-- (BOOL)shouldCacheStatements;
-
-/** Set whether should cache statements or not
-
- @param value `YES` if should cache statements; `NO` if not.
- */
-
-- (void)setShouldCacheStatements:(BOOL)value;
-
-
-///-------------------------
-/// @name Encryption methods
-///-------------------------
-
-/** Set encryption key.
-
- @param key The key to be used.
-
- @return `YES` if success, `NO` on error.
-
- @see https://www.zetetic.net/sqlcipher/
-
- @warning You need to have purchased the sqlite encryption extensions for this method to work.
- */
-
-- (BOOL)setKey:(NSString*)key;
-
-/** Reset encryption key
-
- @param key The key to be used.
-
- @return `YES` if success, `NO` on error.
-
- @see https://www.zetetic.net/sqlcipher/
-
- @warning You need to have purchased the sqlite encryption extensions for this method to work.
- */
-
-- (BOOL)rekey:(NSString*)key;
-
-/** Set encryption key using `keyData`.
-
- @param keyData The `NSData` to be used.
-
- @return `YES` if success, `NO` on error.
-
- @see https://www.zetetic.net/sqlcipher/
-
- @warning You need to have purchased the sqlite encryption extensions for this method to work.
- */
-
-- (BOOL)setKeyWithData:(NSData *)keyData;
-
-/** Reset encryption key using `keyData`.
-
- @param keyData The `NSData` to be used.
-
- @return `YES` if success, `NO` on error.
-
- @see https://www.zetetic.net/sqlcipher/
-
- @warning You need to have purchased the sqlite encryption extensions for this method to work.
- */
-
-- (BOOL)rekeyWithData:(NSData *)keyData;
-
-
-///------------------------------
-/// @name General inquiry methods
-///------------------------------
-
-/** The path of the database file
-
- @return path of database.
-
- */
-
-- (NSString *)databasePath;
-
-/** The underlying SQLite handle
-
- @return The `sqlite3` pointer.
-
- */
-
-- (void*)sqliteHandle;
-
-
-///-----------------------------
-/// @name Retrieving error codes
-///-----------------------------
-
-/** Last error message
-
- Returns the English-language text that describes the most recent failed SQLite API call associated with a database connection. If a prior API call failed but the most recent API call succeeded, this return value is undefined.
-
- @return `NSString` of the last error message.
-
- @see [sqlite3_errmsg()](http://sqlite.org/c3ref/errcode.html)
- @see lastErrorCode
- @see lastError
-
- */
-
-- (NSString*)lastErrorMessage;
-
-/** Last error code
-
- Returns the numeric result code or extended result code for the most recent failed SQLite API call associated with a database connection. If a prior API call failed but the most recent API call succeeded, this return value is undefined.
-
- @return Integer value of the last error code.
-
- @see [sqlite3_errcode()](http://sqlite.org/c3ref/errcode.html)
- @see lastErrorMessage
- @see lastError
-
- */
-
-- (int)lastErrorCode;
-
-/** Had error
-
- @return `YES` if there was an error, `NO` if no error.
-
- @see lastError
- @see lastErrorCode
- @see lastErrorMessage
-
- */
-
-- (BOOL)hadError;
-
-/** Last error
-
- @return `NSError` representing the last error.
-
- @see lastErrorCode
- @see lastErrorMessage
-
- */
-
-- (NSError*)lastError;
-
-
-// description forthcoming
-- (void)setMaxBusyRetryTimeInterval:(NSTimeInterval)timeoutInSeconds;
-- (NSTimeInterval)maxBusyRetryTimeInterval;
-
-
-///------------------
-/// @name Save points
-///------------------
-
-/** Start save point
-
- @param name Name of save point.
-
- @param outErr A `NSError` object to receive any error object (if any).
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see releaseSavePointWithName:error:
- @see rollbackToSavePointWithName:error:
- */
-
-- (BOOL)startSavePointWithName:(NSString*)name error:(NSError**)outErr;
-
-/** Release save point
-
- @param name Name of save point.
-
- @param outErr A `NSError` object to receive any error object (if any).
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see startSavePointWithName:error:
- @see rollbackToSavePointWithName:error:
-
- */
-
-- (BOOL)releaseSavePointWithName:(NSString*)name error:(NSError**)outErr;
-
-/** Roll back to save point
-
- @param name Name of save point.
- @param outErr A `NSError` object to receive any error object (if any).
-
- @return `YES` on success; `NO` on failure. If failed, you can call ``, ``, or `` for diagnostic information regarding the failure.
-
- @see startSavePointWithName:error:
- @see releaseSavePointWithName:error:
-
- */
-
-- (BOOL)rollbackToSavePointWithName:(NSString*)name error:(NSError**)outErr;
-
-/** Start save point
-
- @param block Block of code to perform from within save point.
-
- @return The NSError corresponding to the error, if any. If no error, returns `nil`.
-
- @see startSavePointWithName:error:
- @see releaseSavePointWithName:error:
- @see rollbackToSavePointWithName:error:
-
- */
-
-- (NSError*)inSavePoint:(void (^)(BOOL *rollback))block;
-
-///----------------------------
-/// @name SQLite library status
-///----------------------------
-
-/** Test to see if the library is threadsafe
-
- @return `NO` if and only if SQLite was compiled with mutexing code omitted due to the SQLITE_THREADSAFE compile-time option being set to 0.
-
- @see [sqlite3_threadsafe()](http://sqlite.org/c3ref/threadsafe.html)
- */
-
-+ (BOOL)isSQLiteThreadSafe;
-
-/** Run-time library version numbers
-
- @return The sqlite library version string.
-
- @see [sqlite3_libversion()](http://sqlite.org/c3ref/libversion.html)
- */
-
-+ (NSString*)sqliteLibVersion;
-
-
-+ (NSString*)FMDBUserVersion;
-
-+ (SInt32)FMDBVersion;
-
-
-///------------------------
-/// @name Make SQL function
-///------------------------
-
-/** Adds SQL functions or aggregates or to redefine the behavior of existing SQL functions or aggregates.
-
- For example:
-
- [queue inDatabase:^(FMDatabase *adb) {
-
- [adb executeUpdate:@"create table ftest (foo text)"];
- [adb executeUpdate:@"insert into ftest values ('hello')"];
- [adb executeUpdate:@"insert into ftest values ('hi')"];
- [adb executeUpdate:@"insert into ftest values ('not h!')"];
- [adb executeUpdate:@"insert into ftest values ('definitely not h!')"];
-
- [adb makeFunctionNamed:@"StringStartsWithH" maximumArguments:1 withBlock:^(sqlite3_context *context, int aargc, sqlite3_value **aargv) {
- if (sqlite3_value_type(aargv[0]) == SQLITE_TEXT) {
- @autoreleasepool {
- const char *c = (const char *)sqlite3_value_text(aargv[0]);
- NSString *s = [NSString stringWithUTF8String:c];
- sqlite3_result_int(context, [s hasPrefix:@"h"]);
- }
- }
- else {
- NSLog(@"Unknown formart for StringStartsWithH (%d) %s:%d", sqlite3_value_type(aargv[0]), __FUNCTION__, __LINE__);
- sqlite3_result_null(context);
- }
- }];
-
- int rowCount = 0;
- FMResultSet *ars = [adb executeQuery:@"select * from ftest where StringStartsWithH(foo)"];
- while ([ars next]) {
- rowCount++;
- NSLog(@"Does %@ start with 'h'?", [rs stringForColumnIndex:0]);
- }
- FMDBQuickCheck(rowCount == 2);
- }];
-
- @param name Name of function
-
- @param count Maximum number of parameters
-
- @param block The block of code for the function
-
- @see [sqlite3_create_function()](http://sqlite.org/c3ref/create_function.html)
- */
-
-- (void)makeFunctionNamed:(NSString*)name maximumArguments:(int)count withBlock:(void (^)(void *context, int argc, void **argv))block;
-
-
-///---------------------
-/// @name Date formatter
-///---------------------
-
-/** Generate an `NSDateFormatter` that won't be broken by permutations of timezones or locales.
-
- Use this method to generate values to set the dateFormat property.
-
- Example:
-
- myDB.dateFormat = [FMDatabase storeableDateFormat:@"yyyy-MM-dd HH:mm:ss"];
-
- @param format A valid NSDateFormatter format string.
-
- @return A `NSDateFormatter` that can be used for converting dates to strings and vice versa.
-
- @see hasDateFormatter
- @see setDateFormat:
- @see dateFromString:
- @see stringFromDate:
- @see storeableDateFormat:
-
- @warning Note that `NSDateFormatter` is not thread-safe, so the formatter generated by this method should be assigned to only one FMDB instance and should not be used for other purposes.
-
- */
-
-+ (NSDateFormatter *)storeableDateFormat:(NSString *)format;
-
-/** Test whether the database has a date formatter assigned.
-
- @return `YES` if there is a date formatter; `NO` if not.
-
- @see hasDateFormatter
- @see setDateFormat:
- @see dateFromString:
- @see stringFromDate:
- @see storeableDateFormat:
- */
-
-- (BOOL)hasDateFormatter;
-
-/** Set to a date formatter to use string dates with sqlite instead of the default UNIX timestamps.
-
- @param format Set to nil to use UNIX timestamps. Defaults to nil. Should be set using a formatter generated using FMDatabase::storeableDateFormat.
-
- @see hasDateFormatter
- @see setDateFormat:
- @see dateFromString:
- @see stringFromDate:
- @see storeableDateFormat:
-
- @warning Note there is no direct getter for the `NSDateFormatter`, and you should not use the formatter you pass to FMDB for other purposes, as `NSDateFormatter` is not thread-safe.
- */
-
-- (void)setDateFormat:(NSDateFormatter *)format;
-
-/** Convert the supplied NSString to NSDate, using the current database formatter.
-
- @param s `NSString` to convert to `NSDate`.
-
- @return The `NSDate` object; or `nil` if no formatter is set.
-
- @see hasDateFormatter
- @see setDateFormat:
- @see dateFromString:
- @see stringFromDate:
- @see storeableDateFormat:
- */
-
-- (NSDate *)dateFromString:(NSString *)s;
-
-/** Convert the supplied NSDate to NSString, using the current database formatter.
-
- @param date `NSDate` of date to convert to `NSString`.
-
- @return The `NSString` representation of the date; `nil` if no formatter is set.
-
- @see hasDateFormatter
- @see setDateFormat:
- @see dateFromString:
- @see stringFromDate:
- @see storeableDateFormat:
- */
-
-- (NSString *)stringFromDate:(NSDate *)date;
-
-@end
-
-
-/** Objective-C wrapper for `sqlite3_stmt`
-
- This is a wrapper for a SQLite `sqlite3_stmt`. Generally when using FMDB you will not need to interact directly with `FMStatement`, but rather with `` and `` only.
-
- ### See also
-
- - ``
- - ``
- - [`sqlite3_stmt`](http://www.sqlite.org/c3ref/stmt.html)
- */
-
-@interface FMStatement : NSObject {
- void *_statement;
- NSString *_query;
- long _useCount;
- BOOL _inUse;
-}
-
-///-----------------
-/// @name Properties
-///-----------------
-
-/** Usage count */
-
-@property (atomic, assign) long useCount;
-
-/** SQL statement */
-
-@property (atomic, retain) NSString *query;
-
-/** SQLite sqlite3_stmt
-
- @see [`sqlite3_stmt`](http://www.sqlite.org/c3ref/stmt.html)
- */
-
-@property (atomic, assign) void *statement;
-
-/** Indication of whether the statement is in use */
-
-@property (atomic, assign) BOOL inUse;
-
-///----------------------------
-/// @name Closing and Resetting
-///----------------------------
-
-/** Close statement */
-
-- (void)close;
-
-/** Reset statement */
-
-- (void)reset;
-
-@end
-
-#pragma clang diagnostic pop
-
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabase.m b/ios/Pods/FMDB/src/fmdb/FMDatabase.m
deleted file mode 100644
index d33c13d..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabase.m
+++ /dev/null
@@ -1,1479 +0,0 @@
-#import "FMDatabase.h"
-#import "unistd.h"
-#import
-
-#if FMDB_SQLITE_STANDALONE
-#import
-#else
-#import
-#endif
-
-@interface FMDatabase ()
-
-- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args;
-- (BOOL)executeUpdate:(NSString*)sql error:(NSError**)outErr withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args;
-
-@end
-
-@implementation FMDatabase
-@synthesize cachedStatements=_cachedStatements;
-@synthesize logsErrors=_logsErrors;
-@synthesize crashOnErrors=_crashOnErrors;
-@synthesize checkedOut=_checkedOut;
-@synthesize traceExecution=_traceExecution;
-
-#pragma mark FMDatabase instantiation and deallocation
-
-+ (instancetype)databaseWithPath:(NSString*)aPath {
- return FMDBReturnAutoreleased([[self alloc] initWithPath:aPath]);
-}
-
-- (instancetype)init {
- return [self initWithPath:nil];
-}
-
-- (instancetype)initWithPath:(NSString*)aPath {
-
- assert(sqlite3_threadsafe()); // whoa there big boy- gotta make sure sqlite it happy with what we're going to do.
-
- self = [super init];
-
- if (self) {
- _databasePath = [aPath copy];
- _openResultSets = [[NSMutableSet alloc] init];
- _db = nil;
- _logsErrors = YES;
- _crashOnErrors = NO;
- _maxBusyRetryTimeInterval = 2;
- }
-
- return self;
-}
-
-- (void)finalize {
- [self close];
- [super finalize];
-}
-
-- (void)dealloc {
- [self close];
- FMDBRelease(_openResultSets);
- FMDBRelease(_cachedStatements);
- FMDBRelease(_dateFormat);
- FMDBRelease(_databasePath);
- FMDBRelease(_openFunctions);
-
-#if ! __has_feature(objc_arc)
- [super dealloc];
-#endif
-}
-
-- (NSString *)databasePath {
- return _databasePath;
-}
-
-+ (NSString*)FMDBUserVersion {
- return @"2.6.2";
-}
-
-// returns 0x0240 for version 2.4. This makes it super easy to do things like:
-// /* need to make sure to do X with FMDB version 2.4 or later */
-// if ([FMDatabase FMDBVersion] >= 0x0240) { … }
-
-+ (SInt32)FMDBVersion {
-
- // we go through these hoops so that we only have to change the version number in a single spot.
- static dispatch_once_t once;
- static SInt32 FMDBVersionVal = 0;
-
- dispatch_once(&once, ^{
- NSString *prodVersion = [self FMDBUserVersion];
-
- if ([[prodVersion componentsSeparatedByString:@"."] count] < 3) {
- prodVersion = [prodVersion stringByAppendingString:@".0"];
- }
-
- NSString *junk = [prodVersion stringByReplacingOccurrencesOfString:@"." withString:@""];
-
- char *e = nil;
- FMDBVersionVal = (int) strtoul([junk UTF8String], &e, 16);
-
- });
-
- return FMDBVersionVal;
-}
-
-#pragma mark SQLite information
-
-+ (NSString*)sqliteLibVersion {
- return [NSString stringWithFormat:@"%s", sqlite3_libversion()];
-}
-
-+ (BOOL)isSQLiteThreadSafe {
- // make sure to read the sqlite headers on this guy!
- return sqlite3_threadsafe() != 0;
-}
-
-- (void*)sqliteHandle {
- return _db;
-}
-
-- (const char*)sqlitePath {
-
- if (!_databasePath) {
- return ":memory:";
- }
-
- if ([_databasePath length] == 0) {
- return ""; // this creates a temporary database (it's an sqlite thing).
- }
-
- return [_databasePath fileSystemRepresentation];
-
-}
-
-#pragma mark Open and close database
-
-- (BOOL)open {
- if (_db) {
- return YES;
- }
-
- int err = sqlite3_open([self sqlitePath], (sqlite3**)&_db );
- if(err != SQLITE_OK) {
- NSLog(@"error opening!: %d", err);
- return NO;
- }
-
- if (_maxBusyRetryTimeInterval > 0.0) {
- // set the handler
- [self setMaxBusyRetryTimeInterval:_maxBusyRetryTimeInterval];
- }
-
-
- return YES;
-}
-
-- (BOOL)openWithFlags:(int)flags {
- return [self openWithFlags:flags vfs:nil];
-}
-- (BOOL)openWithFlags:(int)flags vfs:(NSString *)vfsName {
-#if SQLITE_VERSION_NUMBER >= 3005000
- if (_db) {
- return YES;
- }
-
- int err = sqlite3_open_v2([self sqlitePath], (sqlite3**)&_db, flags, [vfsName UTF8String]);
- if(err != SQLITE_OK) {
- NSLog(@"error opening!: %d", err);
- return NO;
- }
-
- if (_maxBusyRetryTimeInterval > 0.0) {
- // set the handler
- [self setMaxBusyRetryTimeInterval:_maxBusyRetryTimeInterval];
- }
-
- return YES;
-#else
- NSLog(@"openWithFlags requires SQLite 3.5");
- return NO;
-#endif
-}
-
-
-- (BOOL)close {
-
- [self clearCachedStatements];
- [self closeOpenResultSets];
-
- if (!_db) {
- return YES;
- }
-
- int rc;
- BOOL retry;
- BOOL triedFinalizingOpenStatements = NO;
-
- do {
- retry = NO;
- rc = sqlite3_close(_db);
- if (SQLITE_BUSY == rc || SQLITE_LOCKED == rc) {
- if (!triedFinalizingOpenStatements) {
- triedFinalizingOpenStatements = YES;
- sqlite3_stmt *pStmt;
- while ((pStmt = sqlite3_next_stmt(_db, nil)) !=0) {
- NSLog(@"Closing leaked statement");
- sqlite3_finalize(pStmt);
- retry = YES;
- }
- }
- }
- else if (SQLITE_OK != rc) {
- NSLog(@"error closing!: %d", rc);
- }
- }
- while (retry);
-
- _db = nil;
- return YES;
-}
-
-#pragma mark Busy handler routines
-
-// NOTE: appledoc seems to choke on this function for some reason;
-// so when generating documentation, you might want to ignore the
-// .m files so that it only documents the public interfaces outlined
-// in the .h files.
-//
-// This is a known appledoc bug that it has problems with C functions
-// within a class implementation, but for some reason, only this
-// C function causes problems; the rest don't. Anyway, ignoring the .m
-// files with appledoc will prevent this problem from occurring.
-
-static int FMDBDatabaseBusyHandler(void *f, int count) {
- FMDatabase *self = (__bridge FMDatabase*)f;
-
- if (count == 0) {
- self->_startBusyRetryTime = [NSDate timeIntervalSinceReferenceDate];
- return 1;
- }
-
- NSTimeInterval delta = [NSDate timeIntervalSinceReferenceDate] - (self->_startBusyRetryTime);
-
- if (delta < [self maxBusyRetryTimeInterval]) {
- int requestedSleepInMillseconds = (int) arc4random_uniform(50) + 50;
- int actualSleepInMilliseconds = sqlite3_sleep(requestedSleepInMillseconds);
- if (actualSleepInMilliseconds != requestedSleepInMillseconds) {
- NSLog(@"WARNING: Requested sleep of %i milliseconds, but SQLite returned %i. Maybe SQLite wasn't built with HAVE_USLEEP=1?", requestedSleepInMillseconds, actualSleepInMilliseconds);
- }
- return 1;
- }
-
- return 0;
-}
-
-- (void)setMaxBusyRetryTimeInterval:(NSTimeInterval)timeout {
-
- _maxBusyRetryTimeInterval = timeout;
-
- if (!_db) {
- return;
- }
-
- if (timeout > 0) {
- sqlite3_busy_handler(_db, &FMDBDatabaseBusyHandler, (__bridge void *)(self));
- }
- else {
- // turn it off otherwise
- sqlite3_busy_handler(_db, nil, nil);
- }
-}
-
-- (NSTimeInterval)maxBusyRetryTimeInterval {
- return _maxBusyRetryTimeInterval;
-}
-
-
-// we no longer make busyRetryTimeout public
-// but for folks who don't bother noticing that the interface to FMDatabase changed,
-// we'll still implement the method so they don't get suprise crashes
-- (int)busyRetryTimeout {
- NSLog(@"%s:%d", __FUNCTION__, __LINE__);
- NSLog(@"FMDB: busyRetryTimeout no longer works, please use maxBusyRetryTimeInterval");
- return -1;
-}
-
-- (void)setBusyRetryTimeout:(int)i {
-#pragma unused(i)
- NSLog(@"%s:%d", __FUNCTION__, __LINE__);
- NSLog(@"FMDB: setBusyRetryTimeout does nothing, please use setMaxBusyRetryTimeInterval:");
-}
-
-#pragma mark Result set functions
-
-- (BOOL)hasOpenResultSets {
- return [_openResultSets count] > 0;
-}
-
-- (void)closeOpenResultSets {
-
- //Copy the set so we don't get mutation errors
- NSSet *openSetCopy = FMDBReturnAutoreleased([_openResultSets copy]);
- for (NSValue *rsInWrappedInATastyValueMeal in openSetCopy) {
- FMResultSet *rs = (FMResultSet *)[rsInWrappedInATastyValueMeal pointerValue];
-
- [rs setParentDB:nil];
- [rs close];
-
- [_openResultSets removeObject:rsInWrappedInATastyValueMeal];
- }
-}
-
-- (void)resultSetDidClose:(FMResultSet *)resultSet {
- NSValue *setValue = [NSValue valueWithNonretainedObject:resultSet];
-
- [_openResultSets removeObject:setValue];
-}
-
-#pragma mark Cached statements
-
-- (void)clearCachedStatements {
-
- for (NSMutableSet *statements in [_cachedStatements objectEnumerator]) {
- [statements makeObjectsPerformSelector:@selector(close)];
- }
-
- [_cachedStatements removeAllObjects];
-}
-
-- (FMStatement*)cachedStatementForQuery:(NSString*)query {
-
- NSMutableSet* statements = [_cachedStatements objectForKey:query];
-
- return [[statements objectsPassingTest:^BOOL(FMStatement* statement, BOOL *stop) {
-
- *stop = ![statement inUse];
- return *stop;
-
- }] anyObject];
-}
-
-
-- (void)setCachedStatement:(FMStatement*)statement forQuery:(NSString*)query {
-
- query = [query copy]; // in case we got handed in a mutable string...
- [statement setQuery:query];
-
- NSMutableSet* statements = [_cachedStatements objectForKey:query];
- if (!statements) {
- statements = [NSMutableSet set];
- }
-
- [statements addObject:statement];
-
- [_cachedStatements setObject:statements forKey:query];
-
- FMDBRelease(query);
-}
-
-#pragma mark Key routines
-
-- (BOOL)rekey:(NSString*)key {
- NSData *keyData = [NSData dataWithBytes:(void *)[key UTF8String] length:(NSUInteger)strlen([key UTF8String])];
-
- return [self rekeyWithData:keyData];
-}
-
-- (BOOL)rekeyWithData:(NSData *)keyData {
-#ifdef SQLITE_HAS_CODEC
- if (!keyData) {
- return NO;
- }
-
- int rc = sqlite3_rekey(_db, [keyData bytes], (int)[keyData length]);
-
- if (rc != SQLITE_OK) {
- NSLog(@"error on rekey: %d", rc);
- NSLog(@"%@", [self lastErrorMessage]);
- }
-
- return (rc == SQLITE_OK);
-#else
-#pragma unused(keyData)
- return NO;
-#endif
-}
-
-- (BOOL)setKey:(NSString*)key {
- NSData *keyData = [NSData dataWithBytes:[key UTF8String] length:(NSUInteger)strlen([key UTF8String])];
-
- return [self setKeyWithData:keyData];
-}
-
-- (BOOL)setKeyWithData:(NSData *)keyData {
-#ifdef SQLITE_HAS_CODEC
- if (!keyData) {
- return NO;
- }
-
- int rc = sqlite3_key(_db, [keyData bytes], (int)[keyData length]);
-
- return (rc == SQLITE_OK);
-#else
-#pragma unused(keyData)
- return NO;
-#endif
-}
-
-#pragma mark Date routines
-
-+ (NSDateFormatter *)storeableDateFormat:(NSString *)format {
-
- NSDateFormatter *result = FMDBReturnAutoreleased([[NSDateFormatter alloc] init]);
- result.dateFormat = format;
- result.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:0];
- result.locale = FMDBReturnAutoreleased([[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]);
- return result;
-}
-
-
-- (BOOL)hasDateFormatter {
- return _dateFormat != nil;
-}
-
-- (void)setDateFormat:(NSDateFormatter *)format {
- FMDBAutorelease(_dateFormat);
- _dateFormat = FMDBReturnRetained(format);
-}
-
-- (NSDate *)dateFromString:(NSString *)s {
- return [_dateFormat dateFromString:s];
-}
-
-- (NSString *)stringFromDate:(NSDate *)date {
- return [_dateFormat stringFromDate:date];
-}
-
-#pragma mark State of database
-
-- (BOOL)goodConnection {
-
- if (!_db) {
- return NO;
- }
-
- FMResultSet *rs = [self executeQuery:@"select name from sqlite_master where type='table'"];
-
- if (rs) {
- [rs close];
- return YES;
- }
-
- return NO;
-}
-
-- (void)warnInUse {
- NSLog(@"The FMDatabase %@ is currently in use.", self);
-
-#ifndef NS_BLOCK_ASSERTIONS
- if (_crashOnErrors) {
- NSAssert(false, @"The FMDatabase %@ is currently in use.", self);
- abort();
- }
-#endif
-}
-
-- (BOOL)databaseExists {
-
- if (!_db) {
-
- NSLog(@"The FMDatabase %@ is not open.", self);
-
-#ifndef NS_BLOCK_ASSERTIONS
- if (_crashOnErrors) {
- NSAssert(false, @"The FMDatabase %@ is not open.", self);
- abort();
- }
-#endif
-
- return NO;
- }
-
- return YES;
-}
-
-#pragma mark Error routines
-
-- (NSString*)lastErrorMessage {
- return [NSString stringWithUTF8String:sqlite3_errmsg(_db)];
-}
-
-- (BOOL)hadError {
- int lastErrCode = [self lastErrorCode];
-
- return (lastErrCode > SQLITE_OK && lastErrCode < SQLITE_ROW);
-}
-
-- (int)lastErrorCode {
- return sqlite3_errcode(_db);
-}
-
-- (NSError*)errorWithMessage:(NSString*)message {
- NSDictionary* errorMessage = [NSDictionary dictionaryWithObject:message forKey:NSLocalizedDescriptionKey];
-
- return [NSError errorWithDomain:@"FMDatabase" code:sqlite3_errcode(_db) userInfo:errorMessage];
-}
-
-- (NSError*)lastError {
- return [self errorWithMessage:[self lastErrorMessage]];
-}
-
-#pragma mark Update information routines
-
-- (sqlite_int64)lastInsertRowId {
-
- if (_isExecutingStatement) {
- [self warnInUse];
- return NO;
- }
-
- _isExecutingStatement = YES;
-
- sqlite_int64 ret = sqlite3_last_insert_rowid(_db);
-
- _isExecutingStatement = NO;
-
- return ret;
-}
-
-- (int)changes {
- if (_isExecutingStatement) {
- [self warnInUse];
- return 0;
- }
-
- _isExecutingStatement = YES;
-
- int ret = sqlite3_changes(_db);
-
- _isExecutingStatement = NO;
-
- return ret;
-}
-
-#pragma mark SQL manipulation
-
-- (void)bindObject:(id)obj toColumn:(int)idx inStatement:(sqlite3_stmt*)pStmt {
-
- if ((!obj) || ((NSNull *)obj == [NSNull null])) {
- sqlite3_bind_null(pStmt, idx);
- }
-
- // FIXME - someday check the return codes on these binds.
- else if ([obj isKindOfClass:[NSData class]]) {
- const void *bytes = [obj bytes];
- if (!bytes) {
- // it's an empty NSData object, aka [NSData data].
- // Don't pass a NULL pointer, or sqlite will bind a SQL null instead of a blob.
- bytes = "";
- }
- sqlite3_bind_blob(pStmt, idx, bytes, (int)[obj length], SQLITE_STATIC);
- }
- else if ([obj isKindOfClass:[NSDate class]]) {
- if (self.hasDateFormatter)
- sqlite3_bind_text(pStmt, idx, [[self stringFromDate:obj] UTF8String], -1, SQLITE_STATIC);
- else
- sqlite3_bind_double(pStmt, idx, [obj timeIntervalSince1970]);
- }
- else if ([obj isKindOfClass:[NSNumber class]]) {
-
- if (strcmp([obj objCType], @encode(char)) == 0) {
- sqlite3_bind_int(pStmt, idx, [obj charValue]);
- }
- else if (strcmp([obj objCType], @encode(unsigned char)) == 0) {
- sqlite3_bind_int(pStmt, idx, [obj unsignedCharValue]);
- }
- else if (strcmp([obj objCType], @encode(short)) == 0) {
- sqlite3_bind_int(pStmt, idx, [obj shortValue]);
- }
- else if (strcmp([obj objCType], @encode(unsigned short)) == 0) {
- sqlite3_bind_int(pStmt, idx, [obj unsignedShortValue]);
- }
- else if (strcmp([obj objCType], @encode(int)) == 0) {
- sqlite3_bind_int(pStmt, idx, [obj intValue]);
- }
- else if (strcmp([obj objCType], @encode(unsigned int)) == 0) {
- sqlite3_bind_int64(pStmt, idx, (long long)[obj unsignedIntValue]);
- }
- else if (strcmp([obj objCType], @encode(long)) == 0) {
- sqlite3_bind_int64(pStmt, idx, [obj longValue]);
- }
- else if (strcmp([obj objCType], @encode(unsigned long)) == 0) {
- sqlite3_bind_int64(pStmt, idx, (long long)[obj unsignedLongValue]);
- }
- else if (strcmp([obj objCType], @encode(long long)) == 0) {
- sqlite3_bind_int64(pStmt, idx, [obj longLongValue]);
- }
- else if (strcmp([obj objCType], @encode(unsigned long long)) == 0) {
- sqlite3_bind_int64(pStmt, idx, (long long)[obj unsignedLongLongValue]);
- }
- else if (strcmp([obj objCType], @encode(float)) == 0) {
- sqlite3_bind_double(pStmt, idx, [obj floatValue]);
- }
- else if (strcmp([obj objCType], @encode(double)) == 0) {
- sqlite3_bind_double(pStmt, idx, [obj doubleValue]);
- }
- else if (strcmp([obj objCType], @encode(BOOL)) == 0) {
- sqlite3_bind_int(pStmt, idx, ([obj boolValue] ? 1 : 0));
- }
- else {
- sqlite3_bind_text(pStmt, idx, [[obj description] UTF8String], -1, SQLITE_STATIC);
- }
- }
- else {
- sqlite3_bind_text(pStmt, idx, [[obj description] UTF8String], -1, SQLITE_STATIC);
- }
-}
-
-- (void)extractSQL:(NSString *)sql argumentsList:(va_list)args intoString:(NSMutableString *)cleanedSQL arguments:(NSMutableArray *)arguments {
-
- NSUInteger length = [sql length];
- unichar last = '\0';
- for (NSUInteger i = 0; i < length; ++i) {
- id arg = nil;
- unichar current = [sql characterAtIndex:i];
- unichar add = current;
- if (last == '%') {
- switch (current) {
- case '@':
- arg = va_arg(args, id);
- break;
- case 'c':
- // warning: second argument to 'va_arg' is of promotable type 'char'; this va_arg has undefined behavior because arguments will be promoted to 'int'
- arg = [NSString stringWithFormat:@"%c", va_arg(args, int)];
- break;
- case 's':
- arg = [NSString stringWithUTF8String:va_arg(args, char*)];
- break;
- case 'd':
- case 'D':
- case 'i':
- arg = [NSNumber numberWithInt:va_arg(args, int)];
- break;
- case 'u':
- case 'U':
- arg = [NSNumber numberWithUnsignedInt:va_arg(args, unsigned int)];
- break;
- case 'h':
- i++;
- if (i < length && [sql characterAtIndex:i] == 'i') {
- // warning: second argument to 'va_arg' is of promotable type 'short'; this va_arg has undefined behavior because arguments will be promoted to 'int'
- arg = [NSNumber numberWithShort:(short)(va_arg(args, int))];
- }
- else if (i < length && [sql characterAtIndex:i] == 'u') {
- // warning: second argument to 'va_arg' is of promotable type 'unsigned short'; this va_arg has undefined behavior because arguments will be promoted to 'int'
- arg = [NSNumber numberWithUnsignedShort:(unsigned short)(va_arg(args, uint))];
- }
- else {
- i--;
- }
- break;
- case 'q':
- i++;
- if (i < length && [sql characterAtIndex:i] == 'i') {
- arg = [NSNumber numberWithLongLong:va_arg(args, long long)];
- }
- else if (i < length && [sql characterAtIndex:i] == 'u') {
- arg = [NSNumber numberWithUnsignedLongLong:va_arg(args, unsigned long long)];
- }
- else {
- i--;
- }
- break;
- case 'f':
- arg = [NSNumber numberWithDouble:va_arg(args, double)];
- break;
- case 'g':
- // warning: second argument to 'va_arg' is of promotable type 'float'; this va_arg has undefined behavior because arguments will be promoted to 'double'
- arg = [NSNumber numberWithFloat:(float)(va_arg(args, double))];
- break;
- case 'l':
- i++;
- if (i < length) {
- unichar next = [sql characterAtIndex:i];
- if (next == 'l') {
- i++;
- if (i < length && [sql characterAtIndex:i] == 'd') {
- //%lld
- arg = [NSNumber numberWithLongLong:va_arg(args, long long)];
- }
- else if (i < length && [sql characterAtIndex:i] == 'u') {
- //%llu
- arg = [NSNumber numberWithUnsignedLongLong:va_arg(args, unsigned long long)];
- }
- else {
- i--;
- }
- }
- else if (next == 'd') {
- //%ld
- arg = [NSNumber numberWithLong:va_arg(args, long)];
- }
- else if (next == 'u') {
- //%lu
- arg = [NSNumber numberWithUnsignedLong:va_arg(args, unsigned long)];
- }
- else {
- i--;
- }
- }
- else {
- i--;
- }
- break;
- default:
- // something else that we can't interpret. just pass it on through like normal
- break;
- }
- }
- else if (current == '%') {
- // percent sign; skip this character
- add = '\0';
- }
-
- if (arg != nil) {
- [cleanedSQL appendString:@"?"];
- [arguments addObject:arg];
- }
- else if (add == (unichar)'@' && last == (unichar) '%') {
- [cleanedSQL appendFormat:@"NULL"];
- }
- else if (add != '\0') {
- [cleanedSQL appendFormat:@"%C", add];
- }
- last = current;
- }
-}
-
-#pragma mark Execute queries
-
-- (FMResultSet *)executeQuery:(NSString *)sql withParameterDictionary:(NSDictionary *)arguments {
- return [self executeQuery:sql withArgumentsInArray:nil orDictionary:arguments orVAList:nil];
-}
-
-- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args {
-
- if (![self databaseExists]) {
- return 0x00;
- }
-
- if (_isExecutingStatement) {
- [self warnInUse];
- return 0x00;
- }
-
- _isExecutingStatement = YES;
-
- int rc = 0x00;
- sqlite3_stmt *pStmt = 0x00;
- FMStatement *statement = 0x00;
- FMResultSet *rs = 0x00;
-
- if (_traceExecution && sql) {
- NSLog(@"%@ executeQuery: %@", self, sql);
- }
-
- if (_shouldCacheStatements) {
- statement = [self cachedStatementForQuery:sql];
- pStmt = statement ? [statement statement] : 0x00;
- [statement reset];
- }
-
- if (!pStmt) {
-
- rc = sqlite3_prepare_v2(_db, [sql UTF8String], -1, &pStmt, 0);
-
- if (SQLITE_OK != rc) {
- if (_logsErrors) {
- NSLog(@"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]);
- NSLog(@"DB Query: %@", sql);
- NSLog(@"DB Path: %@", _databasePath);
- }
-
- if (_crashOnErrors) {
- NSAssert(false, @"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]);
- abort();
- }
-
- sqlite3_finalize(pStmt);
- _isExecutingStatement = NO;
- return nil;
- }
- }
-
- id obj;
- int idx = 0;
- int queryCount = sqlite3_bind_parameter_count(pStmt); // pointed out by Dominic Yu (thanks!)
-
- // If dictionaryArgs is passed in, that means we are using sqlite's named parameter support
- if (dictionaryArgs) {
-
- for (NSString *dictionaryKey in [dictionaryArgs allKeys]) {
-
- // Prefix the key with a colon.
- NSString *parameterName = [[NSString alloc] initWithFormat:@":%@", dictionaryKey];
-
- if (_traceExecution) {
- NSLog(@"%@ = %@", parameterName, [dictionaryArgs objectForKey:dictionaryKey]);
- }
-
- // Get the index for the parameter name.
- int namedIdx = sqlite3_bind_parameter_index(pStmt, [parameterName UTF8String]);
-
- FMDBRelease(parameterName);
-
- if (namedIdx > 0) {
- // Standard binding from here.
- [self bindObject:[dictionaryArgs objectForKey:dictionaryKey] toColumn:namedIdx inStatement:pStmt];
- // increment the binding count, so our check below works out
- idx++;
- }
- else {
- NSLog(@"Could not find index for %@", dictionaryKey);
- }
- }
- }
- else {
-
- while (idx < queryCount) {
-
- if (arrayArgs && idx < (int)[arrayArgs count]) {
- obj = [arrayArgs objectAtIndex:(NSUInteger)idx];
- }
- else if (args) {
- obj = va_arg(args, id);
- }
- else {
- //We ran out of arguments
- break;
- }
-
- if (_traceExecution) {
- if ([obj isKindOfClass:[NSData class]]) {
- NSLog(@"data: %ld bytes", (unsigned long)[(NSData*)obj length]);
- }
- else {
- NSLog(@"obj: %@", obj);
- }
- }
-
- idx++;
-
- [self bindObject:obj toColumn:idx inStatement:pStmt];
- }
- }
-
- if (idx != queryCount) {
- NSLog(@"Error: the bind count is not correct for the # of variables (executeQuery)");
- sqlite3_finalize(pStmt);
- _isExecutingStatement = NO;
- return nil;
- }
-
- FMDBRetain(statement); // to balance the release below
-
- if (!statement) {
- statement = [[FMStatement alloc] init];
- [statement setStatement:pStmt];
-
- if (_shouldCacheStatements && sql) {
- [self setCachedStatement:statement forQuery:sql];
- }
- }
-
- // the statement gets closed in rs's dealloc or [rs close];
- rs = [FMResultSet resultSetWithStatement:statement usingParentDatabase:self];
- [rs setQuery:sql];
-
- NSValue *openResultSet = [NSValue valueWithNonretainedObject:rs];
- [_openResultSets addObject:openResultSet];
-
- [statement setUseCount:[statement useCount] + 1];
-
- FMDBRelease(statement);
-
- _isExecutingStatement = NO;
-
- return rs;
-}
-
-- (FMResultSet *)executeQuery:(NSString*)sql, ... {
- va_list args;
- va_start(args, sql);
-
- id result = [self executeQuery:sql withArgumentsInArray:nil orDictionary:nil orVAList:args];
-
- va_end(args);
- return result;
-}
-
-- (FMResultSet *)executeQueryWithFormat:(NSString*)format, ... {
- va_list args;
- va_start(args, format);
-
- NSMutableString *sql = [NSMutableString stringWithCapacity:[format length]];
- NSMutableArray *arguments = [NSMutableArray array];
- [self extractSQL:format argumentsList:args intoString:sql arguments:arguments];
-
- va_end(args);
-
- return [self executeQuery:sql withArgumentsInArray:arguments];
-}
-
-- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray *)arguments {
- return [self executeQuery:sql withArgumentsInArray:arguments orDictionary:nil orVAList:nil];
-}
-
-- (FMResultSet *)executeQuery:(NSString *)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error {
- FMResultSet *rs = [self executeQuery:sql withArgumentsInArray:values orDictionary:nil orVAList:nil];
- if (!rs && error) {
- *error = [self lastError];
- }
- return rs;
-}
-
-- (FMResultSet *)executeQuery:(NSString*)sql withVAList:(va_list)args {
- return [self executeQuery:sql withArgumentsInArray:nil orDictionary:nil orVAList:args];
-}
-
-#pragma mark Execute updates
-
-- (BOOL)executeUpdate:(NSString*)sql error:(NSError**)outErr withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args {
-
- if (![self databaseExists]) {
- return NO;
- }
-
- if (_isExecutingStatement) {
- [self warnInUse];
- return NO;
- }
-
- _isExecutingStatement = YES;
-
- int rc = 0x00;
- sqlite3_stmt *pStmt = 0x00;
- FMStatement *cachedStmt = 0x00;
-
- if (_traceExecution && sql) {
- NSLog(@"%@ executeUpdate: %@", self, sql);
- }
-
- if (_shouldCacheStatements) {
- cachedStmt = [self cachedStatementForQuery:sql];
- pStmt = cachedStmt ? [cachedStmt statement] : 0x00;
- [cachedStmt reset];
- }
-
- if (!pStmt) {
- rc = sqlite3_prepare_v2(_db, [sql UTF8String], -1, &pStmt, 0);
-
- if (SQLITE_OK != rc) {
- if (_logsErrors) {
- NSLog(@"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]);
- NSLog(@"DB Query: %@", sql);
- NSLog(@"DB Path: %@", _databasePath);
- }
-
- if (_crashOnErrors) {
- NSAssert(false, @"DB Error: %d \"%@\"", [self lastErrorCode], [self lastErrorMessage]);
- abort();
- }
-
- if (outErr) {
- *outErr = [self errorWithMessage:[NSString stringWithUTF8String:sqlite3_errmsg(_db)]];
- }
-
- sqlite3_finalize(pStmt);
-
- _isExecutingStatement = NO;
- return NO;
- }
- }
-
- id obj;
- int idx = 0;
- int queryCount = sqlite3_bind_parameter_count(pStmt);
-
- // If dictionaryArgs is passed in, that means we are using sqlite's named parameter support
- if (dictionaryArgs) {
-
- for (NSString *dictionaryKey in [dictionaryArgs allKeys]) {
-
- // Prefix the key with a colon.
- NSString *parameterName = [[NSString alloc] initWithFormat:@":%@", dictionaryKey];
-
- if (_traceExecution) {
- NSLog(@"%@ = %@", parameterName, [dictionaryArgs objectForKey:dictionaryKey]);
- }
- // Get the index for the parameter name.
- int namedIdx = sqlite3_bind_parameter_index(pStmt, [parameterName UTF8String]);
-
- FMDBRelease(parameterName);
-
- if (namedIdx > 0) {
- // Standard binding from here.
- [self bindObject:[dictionaryArgs objectForKey:dictionaryKey] toColumn:namedIdx inStatement:pStmt];
-
- // increment the binding count, so our check below works out
- idx++;
- }
- else {
- NSString *message = [NSString stringWithFormat:@"Could not find index for %@", dictionaryKey];
-
- if (_logsErrors) {
- NSLog(@"%@", message);
- }
- if (outErr) {
- *outErr = [self errorWithMessage:message];
- }
- }
- }
- }
- else {
-
- while (idx < queryCount) {
-
- if (arrayArgs && idx < (int)[arrayArgs count]) {
- obj = [arrayArgs objectAtIndex:(NSUInteger)idx];
- }
- else if (args) {
- obj = va_arg(args, id);
- }
- else {
- //We ran out of arguments
- break;
- }
-
- if (_traceExecution) {
- if ([obj isKindOfClass:[NSData class]]) {
- NSLog(@"data: %ld bytes", (unsigned long)[(NSData*)obj length]);
- }
- else {
- NSLog(@"obj: %@", obj);
- }
- }
-
- idx++;
-
- [self bindObject:obj toColumn:idx inStatement:pStmt];
- }
- }
-
-
- if (idx != queryCount) {
- NSString *message = [NSString stringWithFormat:@"Error: the bind count (%d) is not correct for the # of variables in the query (%d) (%@) (executeUpdate)", idx, queryCount, sql];
- if (_logsErrors) {
- NSLog(@"%@", message);
- }
- if (outErr) {
- *outErr = [self errorWithMessage:message];
- }
-
- sqlite3_finalize(pStmt);
- _isExecutingStatement = NO;
- return NO;
- }
-
- /* Call sqlite3_step() to run the virtual machine. Since the SQL being
- ** executed is not a SELECT statement, we assume no data will be returned.
- */
-
- rc = sqlite3_step(pStmt);
-
- if (SQLITE_DONE == rc) {
- // all is well, let's return.
- }
- else if (rc == SQLITE_ROW) {
- NSString *message = [NSString stringWithFormat:@"A executeUpdate is being called with a query string '%@'", sql];
- if (_logsErrors) {
- NSLog(@"%@", message);
- NSLog(@"DB Query: %@", sql);
- }
- if (outErr) {
- *outErr = [self errorWithMessage:message];
- }
- }
- else {
- if (outErr) {
- *outErr = [self errorWithMessage:[NSString stringWithUTF8String:sqlite3_errmsg(_db)]];
- }
-
- if (SQLITE_ERROR == rc) {
- if (_logsErrors) {
- NSLog(@"Error calling sqlite3_step (%d: %s) SQLITE_ERROR", rc, sqlite3_errmsg(_db));
- NSLog(@"DB Query: %@", sql);
- }
- }
- else if (SQLITE_MISUSE == rc) {
- // uh oh.
- if (_logsErrors) {
- NSLog(@"Error calling sqlite3_step (%d: %s) SQLITE_MISUSE", rc, sqlite3_errmsg(_db));
- NSLog(@"DB Query: %@", sql);
- }
- }
- else {
- // wtf?
- if (_logsErrors) {
- NSLog(@"Unknown error calling sqlite3_step (%d: %s) eu", rc, sqlite3_errmsg(_db));
- NSLog(@"DB Query: %@", sql);
- }
- }
- }
-
- if (_shouldCacheStatements && !cachedStmt) {
- cachedStmt = [[FMStatement alloc] init];
-
- [cachedStmt setStatement:pStmt];
-
- [self setCachedStatement:cachedStmt forQuery:sql];
-
- FMDBRelease(cachedStmt);
- }
-
- int closeErrorCode;
-
- if (cachedStmt) {
- [cachedStmt setUseCount:[cachedStmt useCount] + 1];
- closeErrorCode = sqlite3_reset(pStmt);
- }
- else {
- /* Finalize the virtual machine. This releases all memory and other
- ** resources allocated by the sqlite3_prepare() call above.
- */
- closeErrorCode = sqlite3_finalize(pStmt);
- }
-
- if (closeErrorCode != SQLITE_OK) {
- if (_logsErrors) {
- NSLog(@"Unknown error finalizing or resetting statement (%d: %s)", closeErrorCode, sqlite3_errmsg(_db));
- NSLog(@"DB Query: %@", sql);
- }
- }
-
- _isExecutingStatement = NO;
- return (rc == SQLITE_DONE || rc == SQLITE_OK);
-}
-
-
-- (BOOL)executeUpdate:(NSString*)sql, ... {
- va_list args;
- va_start(args, sql);
-
- BOOL result = [self executeUpdate:sql error:nil withArgumentsInArray:nil orDictionary:nil orVAList:args];
-
- va_end(args);
- return result;
-}
-
-- (BOOL)executeUpdate:(NSString*)sql withArgumentsInArray:(NSArray *)arguments {
- return [self executeUpdate:sql error:nil withArgumentsInArray:arguments orDictionary:nil orVAList:nil];
-}
-
-- (BOOL)executeUpdate:(NSString*)sql values:(NSArray *)values error:(NSError * __autoreleasing *)error {
- return [self executeUpdate:sql error:error withArgumentsInArray:values orDictionary:nil orVAList:nil];
-}
-
-- (BOOL)executeUpdate:(NSString*)sql withParameterDictionary:(NSDictionary *)arguments {
- return [self executeUpdate:sql error:nil withArgumentsInArray:nil orDictionary:arguments orVAList:nil];
-}
-
-- (BOOL)executeUpdate:(NSString*)sql withVAList:(va_list)args {
- return [self executeUpdate:sql error:nil withArgumentsInArray:nil orDictionary:nil orVAList:args];
-}
-
-- (BOOL)executeUpdateWithFormat:(NSString*)format, ... {
- va_list args;
- va_start(args, format);
-
- NSMutableString *sql = [NSMutableString stringWithCapacity:[format length]];
- NSMutableArray *arguments = [NSMutableArray array];
-
- [self extractSQL:format argumentsList:args intoString:sql arguments:arguments];
-
- va_end(args);
-
- return [self executeUpdate:sql withArgumentsInArray:arguments];
-}
-
-
-int FMDBExecuteBulkSQLCallback(void *theBlockAsVoid, int columns, char **values, char **names); // shhh clang.
-int FMDBExecuteBulkSQLCallback(void *theBlockAsVoid, int columns, char **values, char **names) {
-
- if (!theBlockAsVoid) {
- return SQLITE_OK;
- }
-
- int (^execCallbackBlock)(NSDictionary *resultsDictionary) = (__bridge int (^)(NSDictionary *__strong))(theBlockAsVoid);
-
- NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithCapacity:(NSUInteger)columns];
-
- for (NSInteger i = 0; i < columns; i++) {
- NSString *key = [NSString stringWithUTF8String:names[i]];
- id value = values[i] ? [NSString stringWithUTF8String:values[i]] : [NSNull null];
- [dictionary setObject:value forKey:key];
- }
-
- return execCallbackBlock(dictionary);
-}
-
-- (BOOL)executeStatements:(NSString *)sql {
- return [self executeStatements:sql withResultBlock:nil];
-}
-
-- (BOOL)executeStatements:(NSString *)sql withResultBlock:(FMDBExecuteStatementsCallbackBlock)block {
-
- int rc;
- char *errmsg = nil;
-
- rc = sqlite3_exec([self sqliteHandle], [sql UTF8String], block ? FMDBExecuteBulkSQLCallback : nil, (__bridge void *)(block), &errmsg);
-
- if (errmsg && [self logsErrors]) {
- NSLog(@"Error inserting batch: %s", errmsg);
- sqlite3_free(errmsg);
- }
-
- return (rc == SQLITE_OK);
-}
-
-- (BOOL)executeUpdate:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ... {
-
- va_list args;
- va_start(args, outErr);
-
- BOOL result = [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:args];
-
- va_end(args);
- return result;
-}
-
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-implementations"
-- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ... {
- va_list args;
- va_start(args, outErr);
-
- BOOL result = [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:args];
-
- va_end(args);
- return result;
-}
-
-#pragma clang diagnostic pop
-
-#pragma mark Transactions
-
-- (BOOL)rollback {
- BOOL b = [self executeUpdate:@"rollback transaction"];
-
- if (b) {
- _inTransaction = NO;
- }
-
- return b;
-}
-
-- (BOOL)commit {
- BOOL b = [self executeUpdate:@"commit transaction"];
-
- if (b) {
- _inTransaction = NO;
- }
-
- return b;
-}
-
-- (BOOL)beginDeferredTransaction {
-
- BOOL b = [self executeUpdate:@"begin deferred transaction"];
- if (b) {
- _inTransaction = YES;
- }
-
- return b;
-}
-
-- (BOOL)beginTransaction {
-
- BOOL b = [self executeUpdate:@"begin exclusive transaction"];
- if (b) {
- _inTransaction = YES;
- }
-
- return b;
-}
-
-- (BOOL)inTransaction {
- return _inTransaction;
-}
-
-static NSString *FMDBEscapeSavePointName(NSString *savepointName) {
- return [savepointName stringByReplacingOccurrencesOfString:@"'" withString:@"''"];
-}
-
-- (BOOL)startSavePointWithName:(NSString*)name error:(NSError**)outErr {
-#if SQLITE_VERSION_NUMBER >= 3007000
- NSParameterAssert(name);
-
- NSString *sql = [NSString stringWithFormat:@"savepoint '%@';", FMDBEscapeSavePointName(name)];
-
- return [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:nil];
-#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return NO;
-#endif
-}
-
-- (BOOL)releaseSavePointWithName:(NSString*)name error:(NSError**)outErr {
-#if SQLITE_VERSION_NUMBER >= 3007000
- NSParameterAssert(name);
-
- NSString *sql = [NSString stringWithFormat:@"release savepoint '%@';", FMDBEscapeSavePointName(name)];
-
- return [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:nil];
-#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return NO;
-#endif
-}
-
-- (BOOL)rollbackToSavePointWithName:(NSString*)name error:(NSError**)outErr {
-#if SQLITE_VERSION_NUMBER >= 3007000
- NSParameterAssert(name);
-
- NSString *sql = [NSString stringWithFormat:@"rollback transaction to savepoint '%@';", FMDBEscapeSavePointName(name)];
-
- return [self executeUpdate:sql error:outErr withArgumentsInArray:nil orDictionary:nil orVAList:nil];
-#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return NO;
-#endif
-}
-
-- (NSError*)inSavePoint:(void (^)(BOOL *rollback))block {
-#if SQLITE_VERSION_NUMBER >= 3007000
- static unsigned long savePointIdx = 0;
-
- NSString *name = [NSString stringWithFormat:@"dbSavePoint%ld", savePointIdx++];
-
- BOOL shouldRollback = NO;
-
- NSError *err = 0x00;
-
- if (![self startSavePointWithName:name error:&err]) {
- return err;
- }
-
- if (block) {
- block(&shouldRollback);
- }
-
- if (shouldRollback) {
- // We need to rollback and release this savepoint to remove it
- [self rollbackToSavePointWithName:name error:&err];
- }
- [self releaseSavePointWithName:name error:&err];
-
- return err;
-#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}];
-#endif
-}
-
-
-#pragma mark Cache statements
-
-- (BOOL)shouldCacheStatements {
- return _shouldCacheStatements;
-}
-
-- (void)setShouldCacheStatements:(BOOL)value {
-
- _shouldCacheStatements = value;
-
- if (_shouldCacheStatements && !_cachedStatements) {
- [self setCachedStatements:[NSMutableDictionary dictionary]];
- }
-
- if (!_shouldCacheStatements) {
- [self setCachedStatements:nil];
- }
-}
-
-#pragma mark Callback function
-
-void FMDBBlockSQLiteCallBackFunction(sqlite3_context *context, int argc, sqlite3_value **argv); // -Wmissing-prototypes
-void FMDBBlockSQLiteCallBackFunction(sqlite3_context *context, int argc, sqlite3_value **argv) {
-#if ! __has_feature(objc_arc)
- void (^block)(sqlite3_context *context, int argc, sqlite3_value **argv) = (id)sqlite3_user_data(context);
-#else
- void (^block)(sqlite3_context *context, int argc, sqlite3_value **argv) = (__bridge id)sqlite3_user_data(context);
-#endif
- if (block) {
- block(context, argc, argv);
- }
-}
-
-
-- (void)makeFunctionNamed:(NSString*)name maximumArguments:(int)count withBlock:(void (^)(void *context, int argc, void **argv))block {
-
- if (!_openFunctions) {
- _openFunctions = [NSMutableSet new];
- }
-
- id b = FMDBReturnAutoreleased([block copy]);
-
- [_openFunctions addObject:b];
-
- /* I tried adding custom functions to release the block when the connection is destroyed- but they seemed to never be called, so we use _openFunctions to store the values instead. */
-#if ! __has_feature(objc_arc)
- sqlite3_create_function([self sqliteHandle], [name UTF8String], count, SQLITE_UTF8, (void*)b, &FMDBBlockSQLiteCallBackFunction, 0x00, 0x00);
-#else
- sqlite3_create_function([self sqliteHandle], [name UTF8String], count, SQLITE_UTF8, (__bridge void*)b, &FMDBBlockSQLiteCallBackFunction, 0x00, 0x00);
-#endif
-}
-
-@end
-
-
-
-@implementation FMStatement
-@synthesize statement=_statement;
-@synthesize query=_query;
-@synthesize useCount=_useCount;
-@synthesize inUse=_inUse;
-
-- (void)finalize {
- [self close];
- [super finalize];
-}
-
-- (void)dealloc {
- [self close];
- FMDBRelease(_query);
-#if ! __has_feature(objc_arc)
- [super dealloc];
-#endif
-}
-
-- (void)close {
- if (_statement) {
- sqlite3_finalize(_statement);
- _statement = 0x00;
- }
-
- _inUse = NO;
-}
-
-- (void)reset {
- if (_statement) {
- sqlite3_reset(_statement);
- }
-
- _inUse = NO;
-}
-
-- (NSString*)description {
- return [NSString stringWithFormat:@"%@ %ld hit(s) for query %@", [super description], _useCount, _query];
-}
-
-
-@end
-
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h b/ios/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h
deleted file mode 100644
index 9dd0b62..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabaseAdditions.h
+++ /dev/null
@@ -1,278 +0,0 @@
-//
-// FMDatabaseAdditions.h
-// fmdb
-//
-// Created by August Mueller on 10/30/05.
-// Copyright 2005 Flying Meat Inc.. All rights reserved.
-//
-
-#import
-#import "FMDatabase.h"
-
-
-/** Category of additions for `` class.
-
- ### See also
-
- - ``
- */
-
-@interface FMDatabase (FMDatabaseAdditions)
-
-///----------------------------------------
-/// @name Return results of SQL to variable
-///----------------------------------------
-
-/** Return `int` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `int` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (int)intForQuery:(NSString*)query, ...;
-
-/** Return `long` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `long` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (long)longForQuery:(NSString*)query, ...;
-
-/** Return `BOOL` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `BOOL` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (BOOL)boolForQuery:(NSString*)query, ...;
-
-/** Return `double` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `double` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (double)doubleForQuery:(NSString*)query, ...;
-
-/** Return `NSString` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `NSString` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (NSString*)stringForQuery:(NSString*)query, ...;
-
-/** Return `NSData` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `NSData` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (NSData*)dataForQuery:(NSString*)query, ...;
-
-/** Return `NSDate` value for query
-
- @param query The SQL query to be performed.
- @param ... A list of parameters that will be bound to the `?` placeholders in the SQL query.
-
- @return `NSDate` value.
-
- @note To use this method from Swift, you must include `FMDatabaseAdditionsVariadic.swift` in your project.
- */
-
-- (NSDate*)dateForQuery:(NSString*)query, ...;
-
-
-// Notice that there's no dataNoCopyForQuery:.
-// That would be a bad idea, because we close out the result set, and then what
-// happens to the data that we just didn't copy? Who knows, not I.
-
-
-///--------------------------------
-/// @name Schema related operations
-///--------------------------------
-
-/** Does table exist in database?
-
- @param tableName The name of the table being looked for.
-
- @return `YES` if table found; `NO` if not found.
- */
-
-- (BOOL)tableExists:(NSString*)tableName;
-
-/** The schema of the database.
-
- This will be the schema for the entire database. For each entity, each row of the result set will include the following fields:
-
- - `type` - The type of entity (e.g. table, index, view, or trigger)
- - `name` - The name of the object
- - `tbl_name` - The name of the table to which the object references
- - `rootpage` - The page number of the root b-tree page for tables and indices
- - `sql` - The SQL that created the entity
-
- @return `FMResultSet` of schema; `nil` on error.
-
- @see [SQLite File Format](http://www.sqlite.org/fileformat.html)
- */
-
-- (FMResultSet*)getSchema;
-
-/** The schema of the database.
-
- This will be the schema for a particular table as report by SQLite `PRAGMA`, for example:
-
- PRAGMA table_info('employees')
-
- This will report:
-
- - `cid` - The column ID number
- - `name` - The name of the column
- - `type` - The data type specified for the column
- - `notnull` - whether the field is defined as NOT NULL (i.e. values required)
- - `dflt_value` - The default value for the column
- - `pk` - Whether the field is part of the primary key of the table
-
- @param tableName The name of the table for whom the schema will be returned.
-
- @return `FMResultSet` of schema; `nil` on error.
-
- @see [table_info](http://www.sqlite.org/pragma.html#pragma_table_info)
- */
-
-- (FMResultSet*)getTableSchema:(NSString*)tableName;
-
-/** Test to see if particular column exists for particular table in database
-
- @param columnName The name of the column.
-
- @param tableName The name of the table.
-
- @return `YES` if column exists in table in question; `NO` otherwise.
- */
-
-- (BOOL)columnExists:(NSString*)columnName inTableWithName:(NSString*)tableName;
-
-/** Test to see if particular column exists for particular table in database
-
- @param columnName The name of the column.
-
- @param tableName The name of the table.
-
- @return `YES` if column exists in table in question; `NO` otherwise.
-
- @see columnExists:inTableWithName:
-
- @warning Deprecated - use `` instead.
- */
-
-- (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName __attribute__ ((deprecated));
-
-
-/** Validate SQL statement
-
- This validates SQL statement by performing `sqlite3_prepare_v2`, but not returning the results, but instead immediately calling `sqlite3_finalize`.
-
- @param sql The SQL statement being validated.
-
- @param error This is a pointer to a `NSError` object that will receive the autoreleased `NSError` object if there was any error. If this is `nil`, no `NSError` result will be returned.
-
- @return `YES` if validation succeeded without incident; `NO` otherwise.
-
- */
-
-- (BOOL)validateSQL:(NSString*)sql error:(NSError**)error;
-
-
-///-----------------------------------
-/// @name Application identifier tasks
-///-----------------------------------
-
-/** Retrieve application ID
-
- @return The `uint32_t` numeric value of the application ID.
-
- @see setApplicationID:
- */
-
-- (uint32_t)applicationID;
-
-/** Set the application ID
-
- @param appID The `uint32_t` numeric value of the application ID.
-
- @see applicationID
- */
-
-- (void)setApplicationID:(uint32_t)appID;
-
-#if TARGET_OS_MAC && !TARGET_OS_IPHONE
-/** Retrieve application ID string
-
- @return The `NSString` value of the application ID.
-
- @see setApplicationIDString:
- */
-
-
-- (NSString*)applicationIDString;
-
-/** Set the application ID string
-
- @param string The `NSString` value of the application ID.
-
- @see applicationIDString
- */
-
-- (void)setApplicationIDString:(NSString*)string;
-
-#endif
-
-///-----------------------------------
-/// @name user version identifier tasks
-///-----------------------------------
-
-/** Retrieve user version
-
- @return The `uint32_t` numeric value of the user version.
-
- @see setUserVersion:
- */
-
-- (uint32_t)userVersion;
-
-/** Set the user-version
-
- @param version The `uint32_t` numeric value of the user version.
-
- @see userVersion
- */
-
-- (void)setUserVersion:(uint32_t)version;
-
-@end
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m b/ios/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m
deleted file mode 100644
index 61fa747..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabaseAdditions.m
+++ /dev/null
@@ -1,246 +0,0 @@
-//
-// FMDatabaseAdditions.m
-// fmdb
-//
-// Created by August Mueller on 10/30/05.
-// Copyright 2005 Flying Meat Inc.. All rights reserved.
-//
-
-#import "FMDatabase.h"
-#import "FMDatabaseAdditions.h"
-#import "TargetConditionals.h"
-
-#if FMDB_SQLITE_STANDALONE
-#import
-#else
-#import
-#endif
-
-@interface FMDatabase (PrivateStuff)
-- (FMResultSet *)executeQuery:(NSString *)sql withArgumentsInArray:(NSArray*)arrayArgs orDictionary:(NSDictionary *)dictionaryArgs orVAList:(va_list)args;
-@end
-
-@implementation FMDatabase (FMDatabaseAdditions)
-
-#define RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(type, sel) \
-va_list args; \
-va_start(args, query); \
-FMResultSet *resultSet = [self executeQuery:query withArgumentsInArray:0x00 orDictionary:0x00 orVAList:args]; \
-va_end(args); \
-if (![resultSet next]) { return (type)0; } \
-type ret = [resultSet sel:0]; \
-[resultSet close]; \
-[resultSet setParentDB:nil]; \
-return ret;
-
-
-- (NSString*)stringForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(NSString *, stringForColumnIndex);
-}
-
-- (int)intForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(int, intForColumnIndex);
-}
-
-- (long)longForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(long, longForColumnIndex);
-}
-
-- (BOOL)boolForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(BOOL, boolForColumnIndex);
-}
-
-- (double)doubleForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(double, doubleForColumnIndex);
-}
-
-- (NSData*)dataForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(NSData *, dataForColumnIndex);
-}
-
-- (NSDate*)dateForQuery:(NSString*)query, ... {
- RETURN_RESULT_FOR_QUERY_WITH_SELECTOR(NSDate *, dateForColumnIndex);
-}
-
-
-- (BOOL)tableExists:(NSString*)tableName {
-
- tableName = [tableName lowercaseString];
-
- FMResultSet *rs = [self executeQuery:@"select [sql] from sqlite_master where [type] = 'table' and lower(name) = ?", tableName];
-
- //if at least one next exists, table exists
- BOOL returnBool = [rs next];
-
- //close and free object
- [rs close];
-
- return returnBool;
-}
-
-/*
- get table with list of tables: result colums: type[STRING], name[STRING],tbl_name[STRING],rootpage[INTEGER],sql[STRING]
- check if table exist in database (patch from OZLB)
-*/
-- (FMResultSet*)getSchema {
-
- //result colums: type[STRING], name[STRING],tbl_name[STRING],rootpage[INTEGER],sql[STRING]
- FMResultSet *rs = [self executeQuery:@"SELECT type, name, tbl_name, rootpage, sql FROM (SELECT * FROM sqlite_master UNION ALL SELECT * FROM sqlite_temp_master) WHERE type != 'meta' AND name NOT LIKE 'sqlite_%' ORDER BY tbl_name, type DESC, name"];
-
- return rs;
-}
-
-/*
- get table schema: result colums: cid[INTEGER], name,type [STRING], notnull[INTEGER], dflt_value[],pk[INTEGER]
-*/
-- (FMResultSet*)getTableSchema:(NSString*)tableName {
-
- //result colums: cid[INTEGER], name,type [STRING], notnull[INTEGER], dflt_value[],pk[INTEGER]
- FMResultSet *rs = [self executeQuery:[NSString stringWithFormat: @"pragma table_info('%@')", tableName]];
-
- return rs;
-}
-
-- (BOOL)columnExists:(NSString*)columnName inTableWithName:(NSString*)tableName {
-
- BOOL returnBool = NO;
-
- tableName = [tableName lowercaseString];
- columnName = [columnName lowercaseString];
-
- FMResultSet *rs = [self getTableSchema:tableName];
-
- //check if column is present in table schema
- while ([rs next]) {
- if ([[[rs stringForColumn:@"name"] lowercaseString] isEqualToString:columnName]) {
- returnBool = YES;
- break;
- }
- }
-
- //If this is not done FMDatabase instance stays out of pool
- [rs close];
-
- return returnBool;
-}
-
-
-
-- (uint32_t)applicationID {
-#if SQLITE_VERSION_NUMBER >= 3007017
- uint32_t r = 0;
-
- FMResultSet *rs = [self executeQuery:@"pragma application_id"];
-
- if ([rs next]) {
- r = (uint32_t)[rs longLongIntForColumnIndex:0];
- }
-
- [rs close];
-
- return r;
-#else
- NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return 0;
-#endif
-}
-
-- (void)setApplicationID:(uint32_t)appID {
-#if SQLITE_VERSION_NUMBER >= 3007017
- NSString *query = [NSString stringWithFormat:@"pragma application_id=%d", appID];
- FMResultSet *rs = [self executeQuery:query];
- [rs next];
- [rs close];
-#else
- NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
-#endif
-}
-
-
-#if TARGET_OS_MAC && !TARGET_OS_IPHONE
-
-- (NSString*)applicationIDString {
-#if SQLITE_VERSION_NUMBER >= 3007017
- NSString *s = NSFileTypeForHFSTypeCode([self applicationID]);
-
- assert([s length] == 6);
-
- s = [s substringWithRange:NSMakeRange(1, 4)];
-
-
- return s;
-#else
- NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return nil;
-#endif
-}
-
-- (void)setApplicationIDString:(NSString*)s {
-#if SQLITE_VERSION_NUMBER >= 3007017
- if ([s length] != 4) {
- NSLog(@"setApplicationIDString: string passed is not exactly 4 chars long. (was %ld)", [s length]);
- }
-
- [self setApplicationID:NSHFSTypeCodeFromFileType([NSString stringWithFormat:@"'%@'", s])];
-#else
- NSString *errorMessage = NSLocalizedString(@"Application ID functions require SQLite 3.7.17", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
-#endif
-}
-
-#endif
-
-- (uint32_t)userVersion {
- uint32_t r = 0;
-
- FMResultSet *rs = [self executeQuery:@"pragma user_version"];
-
- if ([rs next]) {
- r = (uint32_t)[rs longLongIntForColumnIndex:0];
- }
-
- [rs close];
- return r;
-}
-
-- (void)setUserVersion:(uint32_t)version {
- NSString *query = [NSString stringWithFormat:@"pragma user_version = %d", version];
- FMResultSet *rs = [self executeQuery:query];
- [rs next];
- [rs close];
-}
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-implementations"
-
-- (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName __attribute__ ((deprecated)) {
- return [self columnExists:columnName inTableWithName:tableName];
-}
-
-#pragma clang diagnostic pop
-
-
-- (BOOL)validateSQL:(NSString*)sql error:(NSError**)error {
- sqlite3_stmt *pStmt = NULL;
- BOOL validationSucceeded = YES;
-
- int rc = sqlite3_prepare_v2(_db, [sql UTF8String], -1, &pStmt, 0);
- if (rc != SQLITE_OK) {
- validationSucceeded = NO;
- if (error) {
- *error = [NSError errorWithDomain:NSCocoaErrorDomain
- code:[self lastErrorCode]
- userInfo:[NSDictionary dictionaryWithObject:[self lastErrorMessage]
- forKey:NSLocalizedDescriptionKey]];
- }
- }
-
- sqlite3_finalize(pStmt);
-
- return validationSucceeded;
-}
-
-@end
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h b/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h
deleted file mode 100644
index 1915858..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabasePool.h
+++ /dev/null
@@ -1,200 +0,0 @@
-//
-// FMDatabasePool.h
-// fmdb
-//
-// Created by August Mueller on 6/22/11.
-// Copyright 2011 Flying Meat Inc. All rights reserved.
-//
-
-#import
-
-@class FMDatabase;
-
-/** Pool of `` objects.
-
- ### See also
-
- - ``
- - ``
-
- @warning Before using `FMDatabasePool`, please consider using `` instead.
-
- If you really really really know what you're doing and `FMDatabasePool` is what
- you really really need (ie, you're using a read only database), OK you can use
- it. But just be careful not to deadlock!
-
- For an example on deadlocking, search for:
- `ONLY_USE_THE_POOL_IF_YOU_ARE_DOING_READS_OTHERWISE_YOULL_DEADLOCK_USE_FMDATABASEQUEUE_INSTEAD`
- in the main.m file.
- */
-
-@interface FMDatabasePool : NSObject {
- NSString *_path;
-
- dispatch_queue_t _lockQueue;
-
- NSMutableArray *_databaseInPool;
- NSMutableArray *_databaseOutPool;
-
- __unsafe_unretained id _delegate;
-
- NSUInteger _maximumNumberOfDatabasesToCreate;
- int _openFlags;
-}
-
-/** Database path */
-
-@property (atomic, retain) NSString *path;
-
-/** Delegate object */
-
-@property (atomic, assign) id delegate;
-
-/** Maximum number of databases to create */
-
-@property (atomic, assign) NSUInteger maximumNumberOfDatabasesToCreate;
-
-/** Open flags */
-
-@property (atomic, readonly) int openFlags;
-
-
-///---------------------
-/// @name Initialization
-///---------------------
-
-/** Create pool using path.
-
- @param aPath The file path of the database.
-
- @return The `FMDatabasePool` object. `nil` on error.
- */
-
-+ (instancetype)databasePoolWithPath:(NSString*)aPath;
-
-/** Create pool using path and specified flags
-
- @param aPath The file path of the database.
- @param openFlags Flags passed to the openWithFlags method of the database
-
- @return The `FMDatabasePool` object. `nil` on error.
- */
-
-+ (instancetype)databasePoolWithPath:(NSString*)aPath flags:(int)openFlags;
-
-/** Create pool using path.
-
- @param aPath The file path of the database.
-
- @return The `FMDatabasePool` object. `nil` on error.
- */
-
-- (instancetype)initWithPath:(NSString*)aPath;
-
-/** Create pool using path and specified flags.
-
- @param aPath The file path of the database.
- @param openFlags Flags passed to the openWithFlags method of the database
-
- @return The `FMDatabasePool` object. `nil` on error.
- */
-
-- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags;
-
-///------------------------------------------------
-/// @name Keeping track of checked in/out databases
-///------------------------------------------------
-
-/** Number of checked-in databases in pool
-
- @returns Number of databases
- */
-
-- (NSUInteger)countOfCheckedInDatabases;
-
-/** Number of checked-out databases in pool
-
- @returns Number of databases
- */
-
-- (NSUInteger)countOfCheckedOutDatabases;
-
-/** Total number of databases in pool
-
- @returns Number of databases
- */
-
-- (NSUInteger)countOfOpenDatabases;
-
-/** Release all databases in pool */
-
-- (void)releaseAllDatabases;
-
-///------------------------------------------
-/// @name Perform database operations in pool
-///------------------------------------------
-
-/** Synchronously perform database operations in pool.
-
- @param block The code to be run on the `FMDatabasePool` pool.
- */
-
-- (void)inDatabase:(void (^)(FMDatabase *db))block;
-
-/** Synchronously perform database operations in pool using transaction.
-
- @param block The code to be run on the `FMDatabasePool` pool.
- */
-
-- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
-
-/** Synchronously perform database operations in pool using deferred transaction.
-
- @param block The code to be run on the `FMDatabasePool` pool.
- */
-
-- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
-
-/** Synchronously perform database operations in pool using save point.
-
- @param block The code to be run on the `FMDatabasePool` pool.
-
- @return `NSError` object if error; `nil` if successful.
-
- @warning You can not nest these, since calling it will pull another database out of the pool and you'll get a deadlock. If you need to nest, use `<[FMDatabase startSavePointWithName:error:]>` instead.
-*/
-
-- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block;
-
-@end
-
-
-/** FMDatabasePool delegate category
-
- This is a category that defines the protocol for the FMDatabasePool delegate
- */
-
-@interface NSObject (FMDatabasePoolDelegate)
-
-/** Asks the delegate whether database should be added to the pool.
-
- @param pool The `FMDatabasePool` object.
- @param database The `FMDatabase` object.
-
- @return `YES` if it should add database to pool; `NO` if not.
-
- */
-
-- (BOOL)databasePool:(FMDatabasePool*)pool shouldAddDatabaseToPool:(FMDatabase*)database;
-
-/** Tells the delegate that database was added to the pool.
-
- @param pool The `FMDatabasePool` object.
- @param database The `FMDatabase` object.
-
- */
-
-- (void)databasePool:(FMDatabasePool*)pool didAddDatabase:(FMDatabase*)database;
-
-@end
-
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m b/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m
deleted file mode 100644
index e8e52cb..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabasePool.m
+++ /dev/null
@@ -1,283 +0,0 @@
-//
-// FMDatabasePool.m
-// fmdb
-//
-// Created by August Mueller on 6/22/11.
-// Copyright 2011 Flying Meat Inc. All rights reserved.
-//
-
-#if FMDB_SQLITE_STANDALONE
-#import
-#else
-#import
-#endif
-
-#import "FMDatabasePool.h"
-#import "FMDatabase.h"
-
-@interface FMDatabasePool()
-
-- (void)pushDatabaseBackInPool:(FMDatabase*)db;
-- (FMDatabase*)db;
-
-@end
-
-
-@implementation FMDatabasePool
-@synthesize path=_path;
-@synthesize delegate=_delegate;
-@synthesize maximumNumberOfDatabasesToCreate=_maximumNumberOfDatabasesToCreate;
-@synthesize openFlags=_openFlags;
-
-
-+ (instancetype)databasePoolWithPath:(NSString*)aPath {
- return FMDBReturnAutoreleased([[self alloc] initWithPath:aPath]);
-}
-
-+ (instancetype)databasePoolWithPath:(NSString*)aPath flags:(int)openFlags {
- return FMDBReturnAutoreleased([[self alloc] initWithPath:aPath flags:openFlags]);
-}
-
-- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags {
-
- self = [super init];
-
- if (self != nil) {
- _path = [aPath copy];
- _lockQueue = dispatch_queue_create([[NSString stringWithFormat:@"fmdb.%@", self] UTF8String], NULL);
- _databaseInPool = FMDBReturnRetained([NSMutableArray array]);
- _databaseOutPool = FMDBReturnRetained([NSMutableArray array]);
- _openFlags = openFlags;
- }
-
- return self;
-}
-
-- (instancetype)initWithPath:(NSString*)aPath
-{
- // default flags for sqlite3_open
- return [self initWithPath:aPath flags:SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE];
-}
-
-- (instancetype)init {
- return [self initWithPath:nil];
-}
-
-
-- (void)dealloc {
-
- _delegate = 0x00;
- FMDBRelease(_path);
- FMDBRelease(_databaseInPool);
- FMDBRelease(_databaseOutPool);
-
- if (_lockQueue) {
- FMDBDispatchQueueRelease(_lockQueue);
- _lockQueue = 0x00;
- }
-#if ! __has_feature(objc_arc)
- [super dealloc];
-#endif
-}
-
-
-- (void)executeLocked:(void (^)(void))aBlock {
- dispatch_sync(_lockQueue, aBlock);
-}
-
-- (void)pushDatabaseBackInPool:(FMDatabase*)db {
-
- if (!db) { // db can be null if we set an upper bound on the # of databases to create.
- return;
- }
-
- [self executeLocked:^() {
-
- if ([self->_databaseInPool containsObject:db]) {
- [[NSException exceptionWithName:@"Database already in pool" reason:@"The FMDatabase being put back into the pool is already present in the pool" userInfo:nil] raise];
- }
-
- [self->_databaseInPool addObject:db];
- [self->_databaseOutPool removeObject:db];
-
- }];
-}
-
-- (FMDatabase*)db {
-
- __block FMDatabase *db;
-
-
- [self executeLocked:^() {
- db = [self->_databaseInPool lastObject];
-
- BOOL shouldNotifyDelegate = NO;
-
- if (db) {
- [self->_databaseOutPool addObject:db];
- [self->_databaseInPool removeLastObject];
- }
- else {
-
- if (self->_maximumNumberOfDatabasesToCreate) {
- NSUInteger currentCount = [self->_databaseOutPool count] + [self->_databaseInPool count];
-
- if (currentCount >= self->_maximumNumberOfDatabasesToCreate) {
- NSLog(@"Maximum number of databases (%ld) has already been reached!", (long)currentCount);
- return;
- }
- }
-
- db = [FMDatabase databaseWithPath:self->_path];
- shouldNotifyDelegate = YES;
- }
-
- //This ensures that the db is opened before returning
-#if SQLITE_VERSION_NUMBER >= 3005000
- BOOL success = [db openWithFlags:self->_openFlags];
-#else
- BOOL success = [db open];
-#endif
- if (success) {
- if ([self->_delegate respondsToSelector:@selector(databasePool:shouldAddDatabaseToPool:)] && ![self->_delegate databasePool:self shouldAddDatabaseToPool:db]) {
- [db close];
- db = 0x00;
- }
- else {
- //It should not get added in the pool twice if lastObject was found
- if (![self->_databaseOutPool containsObject:db]) {
- [self->_databaseOutPool addObject:db];
-
- if (shouldNotifyDelegate && [self->_delegate respondsToSelector:@selector(databasePool:didAddDatabase:)]) {
- [self->_delegate databasePool:self didAddDatabase:db];
- }
- }
- }
- }
- else {
- NSLog(@"Could not open up the database at path %@", self->_path);
- db = 0x00;
- }
- }];
-
- return db;
-}
-
-- (NSUInteger)countOfCheckedInDatabases {
-
- __block NSUInteger count;
-
- [self executeLocked:^() {
- count = [self->_databaseInPool count];
- }];
-
- return count;
-}
-
-- (NSUInteger)countOfCheckedOutDatabases {
-
- __block NSUInteger count;
-
- [self executeLocked:^() {
- count = [self->_databaseOutPool count];
- }];
-
- return count;
-}
-
-- (NSUInteger)countOfOpenDatabases {
- __block NSUInteger count;
-
- [self executeLocked:^() {
- count = [self->_databaseOutPool count] + [self->_databaseInPool count];
- }];
-
- return count;
-}
-
-- (void)releaseAllDatabases {
- [self executeLocked:^() {
- [self->_databaseOutPool removeAllObjects];
- [self->_databaseInPool removeAllObjects];
- }];
-}
-
-- (void)inDatabase:(void (^)(FMDatabase *db))block {
-
- FMDatabase *db = [self db];
-
- block(db);
-
- [self pushDatabaseBackInPool:db];
-}
-
-- (void)beginTransaction:(BOOL)useDeferred withBlock:(void (^)(FMDatabase *db, BOOL *rollback))block {
-
- BOOL shouldRollback = NO;
-
- FMDatabase *db = [self db];
-
- if (useDeferred) {
- [db beginDeferredTransaction];
- }
- else {
- [db beginTransaction];
- }
-
-
- block(db, &shouldRollback);
-
- if (shouldRollback) {
- [db rollback];
- }
- else {
- [db commit];
- }
-
- [self pushDatabaseBackInPool:db];
-}
-
-- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
- [self beginTransaction:YES withBlock:block];
-}
-
-- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
- [self beginTransaction:NO withBlock:block];
-}
-
-- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block {
-#if SQLITE_VERSION_NUMBER >= 3007000
- static unsigned long savePointIdx = 0;
-
- NSString *name = [NSString stringWithFormat:@"savePoint%ld", savePointIdx++];
-
- BOOL shouldRollback = NO;
-
- FMDatabase *db = [self db];
-
- NSError *err = 0x00;
-
- if (![db startSavePointWithName:name error:&err]) {
- [self pushDatabaseBackInPool:db];
- return err;
- }
-
- block(db, &shouldRollback);
-
- if (shouldRollback) {
- // We need to rollback and release this savepoint to remove it
- [db rollbackToSavePointWithName:name error:&err];
- }
- [db releaseSavePointWithName:name error:&err];
-
- [self pushDatabaseBackInPool:db];
-
- return err;
-#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}];
-#endif
-}
-
-@end
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h b/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h
deleted file mode 100644
index ae45b65..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.h
+++ /dev/null
@@ -1,182 +0,0 @@
-//
-// FMDatabaseQueue.h
-// fmdb
-//
-// Created by August Mueller on 6/22/11.
-// Copyright 2011 Flying Meat Inc. All rights reserved.
-//
-
-#import
-
-@class FMDatabase;
-
-/** To perform queries and updates on multiple threads, you'll want to use `FMDatabaseQueue`.
-
- Using a single instance of `` from multiple threads at once is a bad idea. It has always been OK to make a `` object *per thread*. Just don't share a single instance across threads, and definitely not across multiple threads at the same time.
-
- Instead, use `FMDatabaseQueue`. Here's how to use it:
-
- First, make your queue.
-
- FMDatabaseQueue *queue = [FMDatabaseQueue databaseQueueWithPath:aPath];
-
- Then use it like so:
-
- [queue inDatabase:^(FMDatabase *db) {
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:1]];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:2]];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:3]];
-
- FMResultSet *rs = [db executeQuery:@"select * from foo"];
- while ([rs next]) {
- //…
- }
- }];
-
- An easy way to wrap things up in a transaction can be done like this:
-
- [queue inTransaction:^(FMDatabase *db, BOOL *rollback) {
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:1]];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:2]];
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:3]];
-
- if (whoopsSomethingWrongHappened) {
- *rollback = YES;
- return;
- }
- // etc…
- [db executeUpdate:@"INSERT INTO myTable VALUES (?)", [NSNumber numberWithInt:4]];
- }];
-
- `FMDatabaseQueue` will run the blocks on a serialized queue (hence the name of the class). So if you call `FMDatabaseQueue`'s methods from multiple threads at the same time, they will be executed in the order they are received. This way queries and updates won't step on each other's toes, and every one is happy.
-
- ### See also
-
- - ``
-
- @warning Do not instantiate a single `` object and use it across multiple threads. Use `FMDatabaseQueue` instead.
-
- @warning The calls to `FMDatabaseQueue`'s methods are blocking. So even though you are passing along blocks, they will **not** be run on another thread.
-
- */
-
-@interface FMDatabaseQueue : NSObject {
- NSString *_path;
- dispatch_queue_t _queue;
- FMDatabase *_db;
- int _openFlags;
-}
-
-/** Path of database */
-
-@property (atomic, retain) NSString *path;
-
-/** Open flags */
-
-@property (atomic, readonly) int openFlags;
-
-///----------------------------------------------------
-/// @name Initialization, opening, and closing of queue
-///----------------------------------------------------
-
-/** Create queue using path.
-
- @param aPath The file path of the database.
-
- @return The `FMDatabaseQueue` object. `nil` on error.
- */
-
-+ (instancetype)databaseQueueWithPath:(NSString*)aPath;
-
-/** Create queue using path and specified flags.
-
- @param aPath The file path of the database.
- @param openFlags Flags passed to the openWithFlags method of the database
-
- @return The `FMDatabaseQueue` object. `nil` on error.
- */
-+ (instancetype)databaseQueueWithPath:(NSString*)aPath flags:(int)openFlags;
-
-/** Create queue using path.
-
- @param aPath The file path of the database.
-
- @return The `FMDatabaseQueue` object. `nil` on error.
- */
-
-- (instancetype)initWithPath:(NSString*)aPath;
-
-/** Create queue using path and specified flags.
-
- @param aPath The file path of the database.
- @param openFlags Flags passed to the openWithFlags method of the database
-
- @return The `FMDatabaseQueue` object. `nil` on error.
- */
-
-- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags;
-
-/** Create queue using path and specified flags.
-
- @param aPath The file path of the database.
- @param openFlags Flags passed to the openWithFlags method of the database
- @param vfsName The name of a custom virtual file system
-
- @return The `FMDatabaseQueue` object. `nil` on error.
- */
-
-- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags vfs:(NSString *)vfsName;
-
-/** Returns the Class of 'FMDatabase' subclass, that will be used to instantiate database object.
-
- Subclasses can override this method to return specified Class of 'FMDatabase' subclass.
-
- @return The Class of 'FMDatabase' subclass, that will be used to instantiate database object.
- */
-
-+ (Class)databaseClass;
-
-/** Close database used by queue. */
-
-- (void)close;
-
-///-----------------------------------------------
-/// @name Dispatching database operations to queue
-///-----------------------------------------------
-
-/** Synchronously perform database operations on queue.
-
- @param block The code to be run on the queue of `FMDatabaseQueue`
- */
-
-- (void)inDatabase:(void (^)(FMDatabase *db))block;
-
-/** Synchronously perform database operations on queue, using transactions.
-
- @param block The code to be run on the queue of `FMDatabaseQueue`
- */
-
-- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
-
-/** Synchronously perform database operations on queue, using deferred transactions.
-
- @param block The code to be run on the queue of `FMDatabaseQueue`
- */
-
-- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
-
-///-----------------------------------------------
-/// @name Dispatching database operations to queue
-///-----------------------------------------------
-
-/** Synchronously perform database operations using save point.
-
- @param block The code to be run on the queue of `FMDatabaseQueue`
- */
-
-// NOTE: you can not nest these, since calling it will pull another database out of the pool and you'll get a deadlock.
-// If you need to nest, use FMDatabase's startSavePointWithName:error: instead.
-- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block;
-
-@end
-
diff --git a/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m b/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m
deleted file mode 100644
index c877a34..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMDatabaseQueue.m
+++ /dev/null
@@ -1,245 +0,0 @@
-//
-// FMDatabaseQueue.m
-// fmdb
-//
-// Created by August Mueller on 6/22/11.
-// Copyright 2011 Flying Meat Inc. All rights reserved.
-//
-
-#import "FMDatabaseQueue.h"
-#import "FMDatabase.h"
-
-#if FMDB_SQLITE_STANDALONE
-#import
-#else
-#import
-#endif
-
-/*
-
- Note: we call [self retain]; before using dispatch_sync, just incase
- FMDatabaseQueue is released on another thread and we're in the middle of doing
- something in dispatch_sync
-
- */
-
-/*
- * A key used to associate the FMDatabaseQueue object with the dispatch_queue_t it uses.
- * This in turn is used for deadlock detection by seeing if inDatabase: is called on
- * the queue's dispatch queue, which should not happen and causes a deadlock.
- */
-static const void * const kDispatchQueueSpecificKey = &kDispatchQueueSpecificKey;
-
-@implementation FMDatabaseQueue
-
-@synthesize path = _path;
-@synthesize openFlags = _openFlags;
-
-+ (instancetype)databaseQueueWithPath:(NSString*)aPath {
-
- FMDatabaseQueue *q = [[self alloc] initWithPath:aPath];
-
- FMDBAutorelease(q);
-
- return q;
-}
-
-+ (instancetype)databaseQueueWithPath:(NSString*)aPath flags:(int)openFlags {
-
- FMDatabaseQueue *q = [[self alloc] initWithPath:aPath flags:openFlags];
-
- FMDBAutorelease(q);
-
- return q;
-}
-
-+ (Class)databaseClass {
- return [FMDatabase class];
-}
-
-- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags vfs:(NSString *)vfsName {
-
- self = [super init];
-
- if (self != nil) {
-
- _db = [[[self class] databaseClass] databaseWithPath:aPath];
- FMDBRetain(_db);
-
-#if SQLITE_VERSION_NUMBER >= 3005000
- BOOL success = [_db openWithFlags:openFlags vfs:vfsName];
-#else
- BOOL success = [_db open];
-#endif
- if (!success) {
- NSLog(@"Could not create database queue for path %@", aPath);
- FMDBRelease(self);
- return 0x00;
- }
-
- _path = FMDBReturnRetained(aPath);
-
- _queue = dispatch_queue_create([[NSString stringWithFormat:@"fmdb.%@", self] UTF8String], NULL);
- dispatch_queue_set_specific(_queue, kDispatchQueueSpecificKey, (__bridge void *)self, NULL);
- _openFlags = openFlags;
- }
-
- return self;
-}
-
-- (instancetype)initWithPath:(NSString*)aPath flags:(int)openFlags {
- return [self initWithPath:aPath flags:openFlags vfs:nil];
-}
-
-- (instancetype)initWithPath:(NSString*)aPath {
-
- // default flags for sqlite3_open
- return [self initWithPath:aPath flags:SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE vfs:nil];
-}
-
-- (instancetype)init {
- return [self initWithPath:nil];
-}
-
-
-- (void)dealloc {
-
- FMDBRelease(_db);
- FMDBRelease(_path);
-
- if (_queue) {
- FMDBDispatchQueueRelease(_queue);
- _queue = 0x00;
- }
-#if ! __has_feature(objc_arc)
- [super dealloc];
-#endif
-}
-
-- (void)close {
- FMDBRetain(self);
- dispatch_sync(_queue, ^() {
- [self->_db close];
- FMDBRelease(_db);
- self->_db = 0x00;
- });
- FMDBRelease(self);
-}
-
-- (FMDatabase*)database {
- if (!_db) {
- _db = FMDBReturnRetained([FMDatabase databaseWithPath:_path]);
-
-#if SQLITE_VERSION_NUMBER >= 3005000
- BOOL success = [_db openWithFlags:_openFlags];
-#else
- BOOL success = [_db open];
-#endif
- if (!success) {
- NSLog(@"FMDatabaseQueue could not reopen database for path %@", _path);
- FMDBRelease(_db);
- _db = 0x00;
- return 0x00;
- }
- }
-
- return _db;
-}
-
-- (void)inDatabase:(void (^)(FMDatabase *db))block {
- /* Get the currently executing queue (which should probably be nil, but in theory could be another DB queue
- * and then check it against self to make sure we're not about to deadlock. */
- FMDatabaseQueue *currentSyncQueue = (__bridge id)dispatch_get_specific(kDispatchQueueSpecificKey);
- assert(currentSyncQueue != self && "inDatabase: was called reentrantly on the same queue, which would lead to a deadlock");
-
- FMDBRetain(self);
-
- dispatch_sync(_queue, ^() {
-
- FMDatabase *db = [self database];
- block(db);
-
- if ([db hasOpenResultSets]) {
- NSLog(@"Warning: there is at least one open result set around after performing [FMDatabaseQueue inDatabase:]");
-
-#if defined(DEBUG) && DEBUG
- NSSet *openSetCopy = FMDBReturnAutoreleased([[db valueForKey:@"_openResultSets"] copy]);
- for (NSValue *rsInWrappedInATastyValueMeal in openSetCopy) {
- FMResultSet *rs = (FMResultSet *)[rsInWrappedInATastyValueMeal pointerValue];
- NSLog(@"query: '%@'", [rs query]);
- }
-#endif
- }
- });
-
- FMDBRelease(self);
-}
-
-
-- (void)beginTransaction:(BOOL)useDeferred withBlock:(void (^)(FMDatabase *db, BOOL *rollback))block {
- FMDBRetain(self);
- dispatch_sync(_queue, ^() {
-
- BOOL shouldRollback = NO;
-
- if (useDeferred) {
- [[self database] beginDeferredTransaction];
- }
- else {
- [[self database] beginTransaction];
- }
-
- block([self database], &shouldRollback);
-
- if (shouldRollback) {
- [[self database] rollback];
- }
- else {
- [[self database] commit];
- }
- });
-
- FMDBRelease(self);
-}
-
-- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
- [self beginTransaction:YES withBlock:block];
-}
-
-- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block {
- [self beginTransaction:NO withBlock:block];
-}
-
-- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block {
-#if SQLITE_VERSION_NUMBER >= 3007000
- static unsigned long savePointIdx = 0;
- __block NSError *err = 0x00;
- FMDBRetain(self);
- dispatch_sync(_queue, ^() {
-
- NSString *name = [NSString stringWithFormat:@"savePoint%ld", savePointIdx++];
-
- BOOL shouldRollback = NO;
-
- if ([[self database] startSavePointWithName:name error:&err]) {
-
- block([self database], &shouldRollback);
-
- if (shouldRollback) {
- // We need to rollback and release this savepoint to remove it
- [[self database] rollbackToSavePointWithName:name error:&err];
- }
- [[self database] releaseSavePointWithName:name error:&err];
-
- }
- });
- FMDBRelease(self);
- return err;
-#else
- NSString *errorMessage = NSLocalizedString(@"Save point functions require SQLite 3.7", nil);
- if (self.logsErrors) NSLog(@"%@", errorMessage);
- return [NSError errorWithDomain:@"FMDatabase" code:0 userInfo:@{NSLocalizedDescriptionKey : errorMessage}];
-#endif
-}
-
-@end
diff --git a/ios/Pods/FMDB/src/fmdb/FMResultSet.h b/ios/Pods/FMDB/src/fmdb/FMResultSet.h
deleted file mode 100644
index af0433b..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMResultSet.h
+++ /dev/null
@@ -1,468 +0,0 @@
-#import
-
-#ifndef __has_feature // Optional.
-#define __has_feature(x) 0 // Compatibility with non-clang compilers.
-#endif
-
-#ifndef NS_RETURNS_NOT_RETAINED
-#if __has_feature(attribute_ns_returns_not_retained)
-#define NS_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
-#else
-#define NS_RETURNS_NOT_RETAINED
-#endif
-#endif
-
-@class FMDatabase;
-@class FMStatement;
-
-/** Represents the results of executing a query on an ``.
-
- ### See also
-
- - ``
- */
-
-@interface FMResultSet : NSObject {
- FMDatabase *_parentDB;
- FMStatement *_statement;
-
- NSString *_query;
- NSMutableDictionary *_columnNameToIndexMap;
-}
-
-///-----------------
-/// @name Properties
-///-----------------
-
-/** Executed query */
-
-@property (atomic, retain) NSString *query;
-
-/** `NSMutableDictionary` mapping column names to numeric index */
-
-@property (readonly) NSMutableDictionary *columnNameToIndexMap;
-
-/** `FMStatement` used by result set. */
-
-@property (atomic, retain) FMStatement *statement;
-
-///------------------------------------
-/// @name Creating and closing database
-///------------------------------------
-
-/** Create result set from ``
-
- @param statement A `` to be performed
-
- @param aDB A `` to be used
-
- @return A `FMResultSet` on success; `nil` on failure
- */
-
-+ (instancetype)resultSetWithStatement:(FMStatement *)statement usingParentDatabase:(FMDatabase*)aDB;
-
-/** Close result set */
-
-- (void)close;
-
-- (void)setParentDB:(FMDatabase *)newDb;
-
-///---------------------------------------
-/// @name Iterating through the result set
-///---------------------------------------
-
-/** Retrieve next row for result set.
-
- You must always invoke `next` or `nextWithError` before attempting to access the values returned in a query, even if you're only expecting one.
-
- @return `YES` if row successfully retrieved; `NO` if end of result set reached
-
- @see hasAnotherRow
- */
-
-- (BOOL)next;
-
-/** Retrieve next row for result set.
-
- You must always invoke `next` or `nextWithError` before attempting to access the values returned in a query, even if you're only expecting one.
-
- @param outErr A 'NSError' object to receive any error object (if any).
-
- @return 'YES' if row successfully retrieved; 'NO' if end of result set reached
-
- @see hasAnotherRow
- */
-
-- (BOOL)nextWithError:(NSError **)outErr;
-
-/** Did the last call to `` succeed in retrieving another row?
-
- @return `YES` if the last call to `` succeeded in retrieving another record; `NO` if not.
-
- @see next
-
- @warning The `hasAnotherRow` method must follow a call to ``. If the previous database interaction was something other than a call to `next`, then this method may return `NO`, whether there is another row of data or not.
- */
-
-- (BOOL)hasAnotherRow;
-
-///---------------------------------------------
-/// @name Retrieving information from result set
-///---------------------------------------------
-
-/** How many columns in result set
-
- @return Integer value of the number of columns.
- */
-
-- (int)columnCount;
-
-/** Column index for column name
-
- @param columnName `NSString` value of the name of the column.
-
- @return Zero-based index for column.
- */
-
-- (int)columnIndexForName:(NSString*)columnName;
-
-/** Column name for column index
-
- @param columnIdx Zero-based index for column.
-
- @return columnName `NSString` value of the name of the column.
- */
-
-- (NSString*)columnNameForIndex:(int)columnIdx;
-
-/** Result set integer value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `int` value of the result set's column.
- */
-
-- (int)intForColumn:(NSString*)columnName;
-
-/** Result set integer value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `int` value of the result set's column.
- */
-
-- (int)intForColumnIndex:(int)columnIdx;
-
-/** Result set `long` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `long` value of the result set's column.
- */
-
-- (long)longForColumn:(NSString*)columnName;
-
-/** Result set long value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `long` value of the result set's column.
- */
-
-- (long)longForColumnIndex:(int)columnIdx;
-
-/** Result set `long long int` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `long long int` value of the result set's column.
- */
-
-- (long long int)longLongIntForColumn:(NSString*)columnName;
-
-/** Result set `long long int` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `long long int` value of the result set's column.
- */
-
-- (long long int)longLongIntForColumnIndex:(int)columnIdx;
-
-/** Result set `unsigned long long int` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `unsigned long long int` value of the result set's column.
- */
-
-- (unsigned long long int)unsignedLongLongIntForColumn:(NSString*)columnName;
-
-/** Result set `unsigned long long int` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `unsigned long long int` value of the result set's column.
- */
-
-- (unsigned long long int)unsignedLongLongIntForColumnIndex:(int)columnIdx;
-
-/** Result set `BOOL` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `BOOL` value of the result set's column.
- */
-
-- (BOOL)boolForColumn:(NSString*)columnName;
-
-/** Result set `BOOL` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `BOOL` value of the result set's column.
- */
-
-- (BOOL)boolForColumnIndex:(int)columnIdx;
-
-/** Result set `double` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `double` value of the result set's column.
-
- */
-
-- (double)doubleForColumn:(NSString*)columnName;
-
-/** Result set `double` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `double` value of the result set's column.
-
- */
-
-- (double)doubleForColumnIndex:(int)columnIdx;
-
-/** Result set `NSString` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `NSString` value of the result set's column.
-
- */
-
-- (NSString*)stringForColumn:(NSString*)columnName;
-
-/** Result set `NSString` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `NSString` value of the result set's column.
- */
-
-- (NSString*)stringForColumnIndex:(int)columnIdx;
-
-/** Result set `NSDate` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `NSDate` value of the result set's column.
- */
-
-- (NSDate*)dateForColumn:(NSString*)columnName;
-
-/** Result set `NSDate` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `NSDate` value of the result set's column.
-
- */
-
-- (NSDate*)dateForColumnIndex:(int)columnIdx;
-
-/** Result set `NSData` value for column.
-
- This is useful when storing binary data in table (such as image or the like).
-
- @param columnName `NSString` value of the name of the column.
-
- @return `NSData` value of the result set's column.
-
- */
-
-- (NSData*)dataForColumn:(NSString*)columnName;
-
-/** Result set `NSData` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `NSData` value of the result set's column.
- */
-
-- (NSData*)dataForColumnIndex:(int)columnIdx;
-
-/** Result set `(const unsigned char *)` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `(const unsigned char *)` value of the result set's column.
- */
-
-- (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName;
-
-/** Result set `(const unsigned char *)` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `(const unsigned char *)` value of the result set's column.
- */
-
-- (const unsigned char *)UTF8StringForColumnIndex:(int)columnIdx;
-
-/** Result set object for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object.
-
- @see objectForKeyedSubscript:
- */
-
-- (id)objectForColumnName:(NSString*)columnName;
-
-/** Result set object for column.
-
- @param columnIdx Zero-based index for column.
-
- @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object.
-
- @see objectAtIndexedSubscript:
- */
-
-- (id)objectForColumnIndex:(int)columnIdx;
-
-/** Result set object for column.
-
- This method allows the use of the "boxed" syntax supported in Modern Objective-C. For example, by defining this method, the following syntax is now supported:
-
- id result = rs[@"employee_name"];
-
- This simplified syntax is equivalent to calling:
-
- id result = [rs objectForKeyedSubscript:@"employee_name"];
-
- which is, it turns out, equivalent to calling:
-
- id result = [rs objectForColumnName:@"employee_name"];
-
- @param columnName `NSString` value of the name of the column.
-
- @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object.
- */
-
-- (id)objectForKeyedSubscript:(NSString *)columnName;
-
-/** Result set object for column.
-
- This method allows the use of the "boxed" syntax supported in Modern Objective-C. For example, by defining this method, the following syntax is now supported:
-
- id result = rs[0];
-
- This simplified syntax is equivalent to calling:
-
- id result = [rs objectForKeyedSubscript:0];
-
- which is, it turns out, equivalent to calling:
-
- id result = [rs objectForColumnName:0];
-
- @param columnIdx Zero-based index for column.
-
- @return Either `NSNumber`, `NSString`, `NSData`, or `NSNull`. If the column was `NULL`, this returns `[NSNull null]` object.
- */
-
-- (id)objectAtIndexedSubscript:(int)columnIdx;
-
-/** Result set `NSData` value for column.
-
- @param columnName `NSString` value of the name of the column.
-
- @return `NSData` value of the result set's column.
-
- @warning If you are going to use this data after you iterate over the next row, or after you close the
-result set, make sure to make a copy of the data first (or just use ``/``)
-If you don't, you're going to be in a world of hurt when you try and use the data.
-
- */
-
-- (NSData*)dataNoCopyForColumn:(NSString*)columnName NS_RETURNS_NOT_RETAINED;
-
-/** Result set `NSData` value for column.
-
- @param columnIdx Zero-based index for column.
-
- @return `NSData` value of the result set's column.
-
- @warning If you are going to use this data after you iterate over the next row, or after you close the
- result set, make sure to make a copy of the data first (or just use ``/``)
- If you don't, you're going to be in a world of hurt when you try and use the data.
-
- */
-
-- (NSData*)dataNoCopyForColumnIndex:(int)columnIdx NS_RETURNS_NOT_RETAINED;
-
-/** Is the column `NULL`?
-
- @param columnIdx Zero-based index for column.
-
- @return `YES` if column is `NULL`; `NO` if not `NULL`.
- */
-
-- (BOOL)columnIndexIsNull:(int)columnIdx;
-
-/** Is the column `NULL`?
-
- @param columnName `NSString` value of the name of the column.
-
- @return `YES` if column is `NULL`; `NO` if not `NULL`.
- */
-
-- (BOOL)columnIsNull:(NSString*)columnName;
-
-
-/** Returns a dictionary of the row results mapped to case sensitive keys of the column names.
-
- @returns `NSDictionary` of the row results.
-
- @warning The keys to the dictionary are case sensitive of the column names.
- */
-
-- (NSDictionary*)resultDictionary;
-
-/** Returns a dictionary of the row results
-
- @see resultDictionary
-
- @warning **Deprecated**: Please use `` instead. Also, beware that `` is case sensitive!
- */
-
-- (NSDictionary*)resultDict __attribute__ ((deprecated));
-
-///-----------------------------
-/// @name Key value coding magic
-///-----------------------------
-
-/** Performs `setValue` to yield support for key value observing.
-
- @param object The object for which the values will be set. This is the key-value-coding compliant object that you might, for example, observe.
-
- */
-
-- (void)kvcMagic:(id)object;
-
-
-@end
-
diff --git a/ios/Pods/FMDB/src/fmdb/FMResultSet.m b/ios/Pods/FMDB/src/fmdb/FMResultSet.m
deleted file mode 100644
index cfc51e1..0000000
--- a/ios/Pods/FMDB/src/fmdb/FMResultSet.m
+++ /dev/null
@@ -1,422 +0,0 @@
-#import "FMResultSet.h"
-#import "FMDatabase.h"
-#import "unistd.h"
-
-#if FMDB_SQLITE_STANDALONE
-#import
-#else
-#import
-#endif
-
-@interface FMDatabase ()
-- (void)resultSetDidClose:(FMResultSet *)resultSet;
-@end
-
-
-@implementation FMResultSet
-@synthesize query=_query;
-@synthesize statement=_statement;
-
-+ (instancetype)resultSetWithStatement:(FMStatement *)statement usingParentDatabase:(FMDatabase*)aDB {
-
- FMResultSet *rs = [[FMResultSet alloc] init];
-
- [rs setStatement:statement];
- [rs setParentDB:aDB];
-
- NSParameterAssert(![statement inUse]);
- [statement setInUse:YES]; // weak reference
-
- return FMDBReturnAutoreleased(rs);
-}
-
-- (void)finalize {
- [self close];
- [super finalize];
-}
-
-- (void)dealloc {
- [self close];
-
- FMDBRelease(_query);
- _query = nil;
-
- FMDBRelease(_columnNameToIndexMap);
- _columnNameToIndexMap = nil;
-
-#if ! __has_feature(objc_arc)
- [super dealloc];
-#endif
-}
-
-- (void)close {
- [_statement reset];
- FMDBRelease(_statement);
- _statement = nil;
-
- // we don't need this anymore... (i think)
- //[_parentDB setInUse:NO];
- [_parentDB resultSetDidClose:self];
- _parentDB = nil;
-}
-
-- (int)columnCount {
- return sqlite3_column_count([_statement statement]);
-}
-
-- (NSMutableDictionary *)columnNameToIndexMap {
- if (!_columnNameToIndexMap) {
- int columnCount = sqlite3_column_count([_statement statement]);
- _columnNameToIndexMap = [[NSMutableDictionary alloc] initWithCapacity:(NSUInteger)columnCount];
- int columnIdx = 0;
- for (columnIdx = 0; columnIdx < columnCount; columnIdx++) {
- [_columnNameToIndexMap setObject:[NSNumber numberWithInt:columnIdx]
- forKey:[[NSString stringWithUTF8String:sqlite3_column_name([_statement statement], columnIdx)] lowercaseString]];
- }
- }
- return _columnNameToIndexMap;
-}
-
-- (void)kvcMagic:(id)object {
-
- int columnCount = sqlite3_column_count([_statement statement]);
-
- int columnIdx = 0;
- for (columnIdx = 0; columnIdx < columnCount; columnIdx++) {
-
- const char *c = (const char *)sqlite3_column_text([_statement statement], columnIdx);
-
- // check for a null row
- if (c) {
- NSString *s = [NSString stringWithUTF8String:c];
-
- [object setValue:s forKey:[NSString stringWithUTF8String:sqlite3_column_name([_statement statement], columnIdx)]];
- }
- }
-}
-
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wdeprecated-implementations"
-
-- (NSDictionary*)resultDict {
-
- NSUInteger num_cols = (NSUInteger)sqlite3_data_count([_statement statement]);
-
- if (num_cols > 0) {
- NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:num_cols];
-
- NSEnumerator *columnNames = [[self columnNameToIndexMap] keyEnumerator];
- NSString *columnName = nil;
- while ((columnName = [columnNames nextObject])) {
- id objectValue = [self objectForColumnName:columnName];
- [dict setObject:objectValue forKey:columnName];
- }
-
- return FMDBReturnAutoreleased([dict copy]);
- }
- else {
- NSLog(@"Warning: There seem to be no columns in this set.");
- }
-
- return nil;
-}
-
-#pragma clang diagnostic pop
-
-- (NSDictionary*)resultDictionary {
-
- NSUInteger num_cols = (NSUInteger)sqlite3_data_count([_statement statement]);
-
- if (num_cols > 0) {
- NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:num_cols];
-
- int columnCount = sqlite3_column_count([_statement statement]);
-
- int columnIdx = 0;
- for (columnIdx = 0; columnIdx < columnCount; columnIdx++) {
-
- NSString *columnName = [NSString stringWithUTF8String:sqlite3_column_name([_statement statement], columnIdx)];
- id objectValue = [self objectForColumnIndex:columnIdx];
- [dict setObject:objectValue forKey:columnName];
- }
-
- return dict;
- }
- else {
- NSLog(@"Warning: There seem to be no columns in this set.");
- }
-
- return nil;
-}
-
-
-
-
-- (BOOL)next {
- return [self nextWithError:nil];
-}
-
-- (BOOL)nextWithError:(NSError **)outErr {
-
- int rc = sqlite3_step([_statement statement]);
-
- if (SQLITE_BUSY == rc || SQLITE_LOCKED == rc) {
- NSLog(@"%s:%d Database busy (%@)", __FUNCTION__, __LINE__, [_parentDB databasePath]);
- NSLog(@"Database busy");
- if (outErr) {
- *outErr = [_parentDB lastError];
- }
- }
- else if (SQLITE_DONE == rc || SQLITE_ROW == rc) {
- // all is well, let's return.
- }
- else if (SQLITE_ERROR == rc) {
- NSLog(@"Error calling sqlite3_step (%d: %s) rs", rc, sqlite3_errmsg([_parentDB sqliteHandle]));
- if (outErr) {
- *outErr = [_parentDB lastError];
- }
- }
- else if (SQLITE_MISUSE == rc) {
- // uh oh.
- NSLog(@"Error calling sqlite3_step (%d: %s) rs", rc, sqlite3_errmsg([_parentDB sqliteHandle]));
- if (outErr) {
- if (_parentDB) {
- *outErr = [_parentDB lastError];
- }
- else {
- // If 'next' or 'nextWithError' is called after the result set is closed,
- // we need to return the appropriate error.
- NSDictionary* errorMessage = [NSDictionary dictionaryWithObject:@"parentDB does not exist" forKey:NSLocalizedDescriptionKey];
- *outErr = [NSError errorWithDomain:@"FMDatabase" code:SQLITE_MISUSE userInfo:errorMessage];
- }
-
- }
- }
- else {
- // wtf?
- NSLog(@"Unknown error calling sqlite3_step (%d: %s) rs", rc, sqlite3_errmsg([_parentDB sqliteHandle]));
- if (outErr) {
- *outErr = [_parentDB lastError];
- }
- }
-
-
- if (rc != SQLITE_ROW) {
- [self close];
- }
-
- return (rc == SQLITE_ROW);
-}
-
-- (BOOL)hasAnotherRow {
- return sqlite3_errcode([_parentDB sqliteHandle]) == SQLITE_ROW;
-}
-
-- (int)columnIndexForName:(NSString*)columnName {
- columnName = [columnName lowercaseString];
-
- NSNumber *n = [[self columnNameToIndexMap] objectForKey:columnName];
-
- if (n) {
- return [n intValue];
- }
-
- NSLog(@"Warning: I could not find the column named '%@'.", columnName);
-
- return -1;
-}
-
-
-
-- (int)intForColumn:(NSString*)columnName {
- return [self intForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (int)intForColumnIndex:(int)columnIdx {
- return sqlite3_column_int([_statement statement], columnIdx);
-}
-
-- (long)longForColumn:(NSString*)columnName {
- return [self longForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (long)longForColumnIndex:(int)columnIdx {
- return (long)sqlite3_column_int64([_statement statement], columnIdx);
-}
-
-- (long long int)longLongIntForColumn:(NSString*)columnName {
- return [self longLongIntForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (long long int)longLongIntForColumnIndex:(int)columnIdx {
- return sqlite3_column_int64([_statement statement], columnIdx);
-}
-
-- (unsigned long long int)unsignedLongLongIntForColumn:(NSString*)columnName {
- return [self unsignedLongLongIntForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (unsigned long long int)unsignedLongLongIntForColumnIndex:(int)columnIdx {
- return (unsigned long long int)[self longLongIntForColumnIndex:columnIdx];
-}
-
-- (BOOL)boolForColumn:(NSString*)columnName {
- return [self boolForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (BOOL)boolForColumnIndex:(int)columnIdx {
- return ([self intForColumnIndex:columnIdx] != 0);
-}
-
-- (double)doubleForColumn:(NSString*)columnName {
- return [self doubleForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (double)doubleForColumnIndex:(int)columnIdx {
- return sqlite3_column_double([_statement statement], columnIdx);
-}
-
-- (NSString*)stringForColumnIndex:(int)columnIdx {
-
- if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) {
- return nil;
- }
-
- const char *c = (const char *)sqlite3_column_text([_statement statement], columnIdx);
-
- if (!c) {
- // null row.
- return nil;
- }
-
- return [NSString stringWithUTF8String:c];
-}
-
-- (NSString*)stringForColumn:(NSString*)columnName {
- return [self stringForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (NSDate*)dateForColumn:(NSString*)columnName {
- return [self dateForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (NSDate*)dateForColumnIndex:(int)columnIdx {
-
- if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) {
- return nil;
- }
-
- return [_parentDB hasDateFormatter] ? [_parentDB dateFromString:[self stringForColumnIndex:columnIdx]] : [NSDate dateWithTimeIntervalSince1970:[self doubleForColumnIndex:columnIdx]];
-}
-
-
-- (NSData*)dataForColumn:(NSString*)columnName {
- return [self dataForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (NSData*)dataForColumnIndex:(int)columnIdx {
-
- if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) {
- return nil;
- }
-
- const char *dataBuffer = sqlite3_column_blob([_statement statement], columnIdx);
- int dataSize = sqlite3_column_bytes([_statement statement], columnIdx);
-
- if (dataBuffer == NULL) {
- return nil;
- }
-
- return [NSData dataWithBytes:(const void *)dataBuffer length:(NSUInteger)dataSize];
-}
-
-
-- (NSData*)dataNoCopyForColumn:(NSString*)columnName {
- return [self dataNoCopyForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (NSData*)dataNoCopyForColumnIndex:(int)columnIdx {
-
- if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) {
- return nil;
- }
-
- const char *dataBuffer = sqlite3_column_blob([_statement statement], columnIdx);
- int dataSize = sqlite3_column_bytes([_statement statement], columnIdx);
-
- NSData *data = [NSData dataWithBytesNoCopy:(void *)dataBuffer length:(NSUInteger)dataSize freeWhenDone:NO];
-
- return data;
-}
-
-
-- (BOOL)columnIndexIsNull:(int)columnIdx {
- return sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL;
-}
-
-- (BOOL)columnIsNull:(NSString*)columnName {
- return [self columnIndexIsNull:[self columnIndexForName:columnName]];
-}
-
-- (const unsigned char *)UTF8StringForColumnIndex:(int)columnIdx {
-
- if (sqlite3_column_type([_statement statement], columnIdx) == SQLITE_NULL || (columnIdx < 0)) {
- return nil;
- }
-
- return sqlite3_column_text([_statement statement], columnIdx);
-}
-
-- (const unsigned char *)UTF8StringForColumnName:(NSString*)columnName {
- return [self UTF8StringForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-- (id)objectForColumnIndex:(int)columnIdx {
- int columnType = sqlite3_column_type([_statement statement], columnIdx);
-
- id returnValue = nil;
-
- if (columnType == SQLITE_INTEGER) {
- returnValue = [NSNumber numberWithLongLong:[self longLongIntForColumnIndex:columnIdx]];
- }
- else if (columnType == SQLITE_FLOAT) {
- returnValue = [NSNumber numberWithDouble:[self doubleForColumnIndex:columnIdx]];
- }
- else if (columnType == SQLITE_BLOB) {
- returnValue = [self dataForColumnIndex:columnIdx];
- }
- else {
- //default to a string for everything else
- returnValue = [self stringForColumnIndex:columnIdx];
- }
-
- if (returnValue == nil) {
- returnValue = [NSNull null];
- }
-
- return returnValue;
-}
-
-- (id)objectForColumnName:(NSString*)columnName {
- return [self objectForColumnIndex:[self columnIndexForName:columnName]];
-}
-
-// returns autoreleased NSString containing the name of the column in the result set
-- (NSString*)columnNameForIndex:(int)columnIdx {
- return [NSString stringWithUTF8String: sqlite3_column_name([_statement statement], columnIdx)];
-}
-
-- (void)setParentDB:(FMDatabase *)newDb {
- _parentDB = newDb;
-}
-
-- (id)objectAtIndexedSubscript:(int)columnIdx {
- return [self objectForColumnIndex:columnIdx];
-}
-
-- (id)objectForKeyedSubscript:(NSString *)columnName {
- return [self objectForColumnName:columnName];
-}
-
-
-@end
diff --git a/ios/Pods/Headers/Private/FMDB/FMDB.h b/ios/Pods/Headers/Private/FMDB/FMDB.h
deleted file mode 120000
index bcd6e0a..0000000
--- a/ios/Pods/Headers/Private/FMDB/FMDB.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDB.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/FMDB/FMDatabase.h b/ios/Pods/Headers/Private/FMDB/FMDatabase.h
deleted file mode 120000
index e69b333..0000000
--- a/ios/Pods/Headers/Private/FMDB/FMDatabase.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabase.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/FMDB/FMDatabaseAdditions.h b/ios/Pods/Headers/Private/FMDB/FMDatabaseAdditions.h
deleted file mode 120000
index b48a6a3..0000000
--- a/ios/Pods/Headers/Private/FMDB/FMDatabaseAdditions.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabaseAdditions.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/FMDB/FMDatabasePool.h b/ios/Pods/Headers/Private/FMDB/FMDatabasePool.h
deleted file mode 120000
index 1d78001..0000000
--- a/ios/Pods/Headers/Private/FMDB/FMDatabasePool.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabasePool.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/FMDB/FMDatabaseQueue.h b/ios/Pods/Headers/Private/FMDB/FMDatabaseQueue.h
deleted file mode 120000
index 9adde87..0000000
--- a/ios/Pods/Headers/Private/FMDB/FMDatabaseQueue.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabaseQueue.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/FMDB/FMResultSet.h b/ios/Pods/Headers/Private/FMDB/FMResultSet.h
deleted file mode 120000
index fd761d8..0000000
--- a/ios/Pods/Headers/Private/FMDB/FMResultSet.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMResultSet.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/path_provider/PathProviderPlugin.h b/ios/Pods/Headers/Private/path_provider/PathProviderPlugin.h
deleted file mode 120000
index 192e213..0000000
--- a/ios/Pods/Headers/Private/path_provider/PathProviderPlugin.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios/Classes/PathProviderPlugin.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Private/sqflite/SqflitePlugin.h b/ios/Pods/Headers/Private/sqflite/SqflitePlugin.h
deleted file mode 120000
index 7e3a463..0000000
--- a/ios/Pods/Headers/Private/sqflite/SqflitePlugin.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios/Classes/SqflitePlugin.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/FMDB/FMDB.h b/ios/Pods/Headers/Public/FMDB/FMDB.h
deleted file mode 120000
index bcd6e0a..0000000
--- a/ios/Pods/Headers/Public/FMDB/FMDB.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDB.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/FMDB/FMDatabase.h b/ios/Pods/Headers/Public/FMDB/FMDatabase.h
deleted file mode 120000
index e69b333..0000000
--- a/ios/Pods/Headers/Public/FMDB/FMDatabase.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabase.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/FMDB/FMDatabaseAdditions.h b/ios/Pods/Headers/Public/FMDB/FMDatabaseAdditions.h
deleted file mode 120000
index b48a6a3..0000000
--- a/ios/Pods/Headers/Public/FMDB/FMDatabaseAdditions.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabaseAdditions.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/FMDB/FMDatabasePool.h b/ios/Pods/Headers/Public/FMDB/FMDatabasePool.h
deleted file mode 120000
index 1d78001..0000000
--- a/ios/Pods/Headers/Public/FMDB/FMDatabasePool.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabasePool.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/FMDB/FMDatabaseQueue.h b/ios/Pods/Headers/Public/FMDB/FMDatabaseQueue.h
deleted file mode 120000
index 9adde87..0000000
--- a/ios/Pods/Headers/Public/FMDB/FMDatabaseQueue.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMDatabaseQueue.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/FMDB/FMResultSet.h b/ios/Pods/Headers/Public/FMDB/FMResultSet.h
deleted file mode 120000
index fd761d8..0000000
--- a/ios/Pods/Headers/Public/FMDB/FMResultSet.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../FMDB/src/fmdb/FMResultSet.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h b/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h
deleted file mode 120000
index 35e529a..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/Flutter.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/Flutter.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h
deleted file mode 120000
index b819c0c..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterAppDelegate.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterAppDelegate.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h
deleted file mode 120000
index 5571a1f..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterBinaryMessenger.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterBinaryMessenger.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterChannels.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterChannels.h
deleted file mode 120000
index a3bec73..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterChannels.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterChannels.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterCodecs.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterCodecs.h
deleted file mode 120000
index 8c3a8a9..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterCodecs.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterCodecs.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterDartProject.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterDartProject.h
deleted file mode 120000
index 44496cf..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterDartProject.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterDartProject.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterMacros.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterMacros.h
deleted file mode 120000
index 8b35b8a..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterMacros.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterMacros.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterNavigationController.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterNavigationController.h
deleted file mode 120000
index 0a2595b..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterNavigationController.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterNavigationController.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h
deleted file mode 120000
index 7313dd0..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterPlugin.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterPlugin.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterViewController.h b/ios/Pods/Headers/Public/Flutter/Flutter/FlutterViewController.h
deleted file mode 120000
index 97b81db..0000000
--- a/ios/Pods/Headers/Public/Flutter/Flutter/FlutterViewController.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework/Headers/FlutterViewController.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/path_provider/PathProviderPlugin.h b/ios/Pods/Headers/Public/path_provider/PathProviderPlugin.h
deleted file mode 120000
index 192e213..0000000
--- a/ios/Pods/Headers/Public/path_provider/PathProviderPlugin.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios/Classes/PathProviderPlugin.h
\ No newline at end of file
diff --git a/ios/Pods/Headers/Public/sqflite/SqflitePlugin.h b/ios/Pods/Headers/Public/sqflite/SqflitePlugin.h
deleted file mode 120000
index 7e3a463..0000000
--- a/ios/Pods/Headers/Public/sqflite/SqflitePlugin.h
+++ /dev/null
@@ -1 +0,0 @@
-../../../../../../../../.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios/Classes/SqflitePlugin.h
\ No newline at end of file
diff --git a/ios/Pods/Local Podspecs/Flutter.podspec.json b/ios/Pods/Local Podspecs/Flutter.podspec.json
deleted file mode 100644
index 6f2c0a5..0000000
--- a/ios/Pods/Local Podspecs/Flutter.podspec.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "name": "Flutter",
- "version": "1.0.0",
- "summary": "High-performance, high-fidelity mobile apps.",
- "description": "Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.",
- "homepage": "https://flutter.io",
- "license": {
- "type": "MIT",
- "file": "../../../../../LICENSE"
- },
- "authors": {
- "Flutter Dev Team": "flutter-dev@googlegroups.com"
- },
- "source": {
- "git": "https://github.com/flutter/engine",
- "tag": "1.0.0"
- },
- "platforms": {
- "ios": "7.0"
- },
- "vendored_frameworks": "Flutter.framework"
-}
diff --git a/ios/Pods/Local Podspecs/path_provider.podspec.json b/ios/Pods/Local Podspecs/path_provider.podspec.json
deleted file mode 100644
index f0b7122..0000000
--- a/ios/Pods/Local Podspecs/path_provider.podspec.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "name": "path_provider",
- "version": "0.0.1",
- "summary": "A Flutter plugin for getting commonly used locations on the filesystem.",
- "description": "A Flutter plugin for getting commonly used locations on the filesystem.",
- "homepage": "https://github.com/flutter/plugins/tree/master/packages/path_provider",
- "license": {
- "file": "../LICENSE"
- },
- "authors": {
- "Flutter Team": "flutter-dev@googlegroups.com"
- },
- "source": {
- "path": "."
- },
- "source_files": "Classes/**/*",
- "public_header_files": "Classes/**/*.h",
- "dependencies": {
- "Flutter": [
-
- ]
- },
- "platforms": {
- "ios": "8.0"
- }
-}
diff --git a/ios/Pods/Local Podspecs/sqflite.podspec.json b/ios/Pods/Local Podspecs/sqflite.podspec.json
deleted file mode 100644
index d60790d..0000000
--- a/ios/Pods/Local Podspecs/sqflite.podspec.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "name": "sqflite",
- "version": "0.0.1",
- "summary": "A new flutter plugin project.",
- "description": "A new flutter plugin project.",
- "homepage": "http://example.com",
- "license": {
- "file": "../LICENSE"
- },
- "authors": {
- "Your Company": "email@example.com"
- },
- "source": {
- "path": "."
- },
- "source_files": "Classes/**/*",
- "public_header_files": "Classes/**/*.h",
- "dependencies": {
- "Flutter": [
-
- ],
- "FMDB": [
-
- ]
- },
- "platforms": {
- "ios": "8.0"
- }
-}
diff --git a/ios/Pods/Manifest.lock b/ios/Pods/Manifest.lock
deleted file mode 100644
index 1ae6766..0000000
--- a/ios/Pods/Manifest.lock
+++ /dev/null
@@ -1,33 +0,0 @@
-PODS:
- - Flutter (1.0.0)
- - FMDB (2.6.2):
- - FMDB/standard (= 2.6.2)
- - FMDB/standard (2.6.2)
- - path_provider (0.0.1):
- - Flutter
- - sqflite (0.0.1):
- - Flutter
- - FMDB
-
-DEPENDENCIES:
- - Flutter (from `/Users/ntrlab/flutter/bin/cache/artifacts/engine/ios`)
- - path_provider (from `/Users/ntrlab/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios`)
- - sqflite (from `/Users/ntrlab/.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios`)
-
-EXTERNAL SOURCES:
- Flutter:
- :path: /Users/ntrlab/flutter/bin/cache/artifacts/engine/ios
- path_provider:
- :path: /Users/ntrlab/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios
- sqflite:
- :path: /Users/ntrlab/.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios
-
-SPEC CHECKSUMS:
- Flutter: d674e78c937094a75ac71dd77e921e840bea3dbf
- FMDB: 854a0341b4726e53276f2a8996f06f1b80f9259a
- path_provider: f96fff6166a8867510d2c25fdcc346327cc4b259
- sqflite: 8e2d9fe1e7cdc95d4d537fc7eb2d23c8dc428e3c
-
-PODFILE CHECKSUM: 351e02e34b831289961ec3558a535cbd2c4965d2
-
-COCOAPODS: 1.2.1
diff --git a/ios/Pods/Pods.xcodeproj/project.pbxproj b/ios/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index f691ee9..0000000
--- a/ios/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1108 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 0275983C85B82B8AEF3C4BBEDF6F8F65 /* SqflitePlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = 245693FC3F354C3C436CD1E7968FD32E /* SqflitePlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 05A982FECA099A43B0BC98D622441FAE /* PathProviderPlugin.h in Headers */ = {isa = PBXBuildFile; fileRef = 43ADCBB14A964C5A31E1435545C7C49A /* PathProviderPlugin.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 0A3AA45E708AEBE5491F112FF86826E6 /* FMResultSet.m in Sources */ = {isa = PBXBuildFile; fileRef = 71B69D4A7150AC2F65A57B7D04F092D4 /* FMResultSet.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- 0DDFE649E817E8E428BD87DBFA928B6A /* FMResultSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 69CC8B63F837EA7B053AB8BA07253A25 /* FMResultSet.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 1FB202F9CC5A6B1BDF544D6331CC65E9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; };
- 534A2178342F283B51EACFFDFFE40191 /* sqflite-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 0AEE6E6B79FE3A05399CBC9D72C09209 /* sqflite-dummy.m */; };
- 5E4CF03E66D6F8A4740E7E79DEB429BD /* FMDatabasePool.m in Sources */ = {isa = PBXBuildFile; fileRef = 400AFB42920EB39709666D3F1A73D6C2 /* FMDatabasePool.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- 5F3656EE3D432CA623783D4CF342F0D8 /* Pods-Runner-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1086A466F3A8C5B95BB9FFDFF3E7C0C7 /* Pods-Runner-dummy.m */; };
- 6CBBBD55FA103C4CDEB6D91AF00CD1B8 /* FMDatabasePool.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AF3AEDDA16DD8E28B59FF0788FDDC03 /* FMDatabasePool.h */; settings = {ATTRIBUTES = (Public, ); }; };
- 731E8A5B80ABFB6037EE3757A840E7EE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; };
- 81DC828A0B2DBF6E914B43538C678149 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; };
- 885FA5A8E4062F05235E1BB351829299 /* FMDatabaseAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 3BCC0EED53ED8D7C1931178E0E4269B4 /* FMDatabaseAdditions.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- 964F7658C2F163B024D944143BA2B366 /* FMDatabase.m in Sources */ = {isa = PBXBuildFile; fileRef = DC7C30F9E55829B027C4913D1F19D68C /* FMDatabase.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- A44C9EAA45872D379216F27269E493F1 /* FMDatabaseQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 33F15B71183AD666DFC49D907F769ACF /* FMDatabaseQueue.h */; settings = {ATTRIBUTES = (Public, ); }; };
- CCCE6327D9EB4C3524863A4C9F40A534 /* path_provider-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 01EE1398A8E1CE9BAB2759C0904398ED /* path_provider-dummy.m */; };
- DBC373403E0C92A8A2C4BC2D4614A5F2 /* FMDatabaseAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = D2DD52CB174E1DC79111C38E770F6FC8 /* FMDatabaseAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
- DC2DD5729CD216714D698D25901C2214 /* FMDatabaseQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = C11A8F38580C7A7FF38ACB6A3B412884 /* FMDatabaseQueue.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
- F4B3EA658E75B0E535C3DEFE24148F0C /* FMDB.h in Headers */ = {isa = PBXBuildFile; fileRef = 91893D40185E0EFA40FC217BE44A7C0D /* FMDB.h */; settings = {ATTRIBUTES = (Public, ); }; };
- F6B5EEC2E3BC8722930840274D92FDC9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; };
- F703EABB9F02DB9BBD35F2898762FF82 /* FMDB-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6D76813CB39ACC402A9EE3DC12B4E682 /* FMDB-dummy.m */; };
- F758CC216AD6D5080A98A5C906D21B8F /* SqflitePlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 3873B941D43C943B5E65CE21BA4EA45F /* SqflitePlugin.m */; };
- FE229C815FB3207DEA535129B9A252ED /* FMDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 638E465E4B27490B0FB423614C3ADD11 /* FMDatabase.h */; settings = {ATTRIBUTES = (Public, ); }; };
- FFE88F263143BC1EEE55869071E74417 /* PathProviderPlugin.m in Sources */ = {isa = PBXBuildFile; fileRef = 6AC4DC3453D344EE0548E054C3750260 /* PathProviderPlugin.m */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 252BB7AED6C04DAC85EF7E1F570DE6AC /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 1749C1BD4B48236EAC7E2B8B03365028;
- remoteInfo = FMDB;
- };
- 390F2857FFCF75A8AEB952F17697D1B7 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 8944BF05BFD79D97D838CC043D5F737A;
- remoteInfo = sqflite;
- };
- 7E2FFC2CFE997942328BDACF01A8FE55 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 1749C1BD4B48236EAC7E2B8B03365028;
- remoteInfo = FMDB;
- };
- 8BDBB193AD09EBE36526DF24B4F56DBD /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = D597B65EAF1279E7C5637291B916DDC5;
- remoteInfo = path_provider;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
- 003397356FD1052F1B7B632E25DB1274 /* libFMDB.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libFMDB.a; path = libFMDB.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 0176FEA81EA118E60DB16DFEF750F575 /* sqflite-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "sqflite-prefix.pch"; sourceTree = ""; };
- 01EE1398A8E1CE9BAB2759C0904398ED /* path_provider-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "path_provider-dummy.m"; sourceTree = ""; };
- 01FFC258241FD6531167B29D7C3AABCE /* libpath_provider.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libpath_provider.a; path = libpath_provider.a; sourceTree = BUILT_PRODUCTS_DIR; };
- 0AEE6E6B79FE3A05399CBC9D72C09209 /* sqflite-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "sqflite-dummy.m"; sourceTree = ""; };
- 1086A466F3A8C5B95BB9FFDFF3E7C0C7 /* Pods-Runner-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Runner-dummy.m"; sourceTree = ""; };
- 180AB1F194E38A2A27B5CEB66C9A1F09 /* Pods-Runner-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Runner-frameworks.sh"; sourceTree = ""; };
- 1AF3AEDDA16DD8E28B59FF0788FDDC03 /* FMDatabasePool.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabasePool.h; path = src/fmdb/FMDatabasePool.h; sourceTree = ""; };
- 245693FC3F354C3C436CD1E7968FD32E /* SqflitePlugin.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = SqflitePlugin.h; sourceTree = ""; };
- 33F15B71183AD666DFC49D907F769ACF /* FMDatabaseQueue.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseQueue.h; path = src/fmdb/FMDatabaseQueue.h; sourceTree = ""; };
- 3873B941D43C943B5E65CE21BA4EA45F /* SqflitePlugin.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = SqflitePlugin.m; sourceTree = ""; };
- 3BCC0EED53ED8D7C1931178E0E4269B4 /* FMDatabaseAdditions.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseAdditions.m; path = src/fmdb/FMDatabaseAdditions.m; sourceTree = ""; };
- 3F8DCA264D4A7E7254305B946F3D73F0 /* Pods-Runner-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Runner-acknowledgements.markdown"; sourceTree = ""; };
- 400AFB42920EB39709666D3F1A73D6C2 /* FMDatabasePool.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabasePool.m; path = src/fmdb/FMDatabasePool.m; sourceTree = ""; };
- 415E1188B3202852749D1EFFEEB90485 /* sqflite.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = sqflite.xcconfig; sourceTree = ""; };
- 43ADCBB14A964C5A31E1435545C7C49A /* PathProviderPlugin.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = PathProviderPlugin.h; sourceTree = ""; };
- 4532A70C1CFAB30C4266017A71B77D1F /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Runner.release.xcconfig"; sourceTree = ""; };
- 5047ABF432994AE77E6A7D53ABAF250B /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Flutter.framework; sourceTree = ""; };
- 5C8299479CF1A66A335CD3BB7C3632ED /* Pods-Runner-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Runner-resources.sh"; sourceTree = ""; };
- 6275B5E067A1E7C9B5D3A5FCAD7BB17E /* path_provider-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "path_provider-prefix.pch"; sourceTree = ""; };
- 638E465E4B27490B0FB423614C3ADD11 /* FMDatabase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabase.h; path = src/fmdb/FMDatabase.h; sourceTree = ""; };
- 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
- 69CC8B63F837EA7B053AB8BA07253A25 /* FMResultSet.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMResultSet.h; path = src/fmdb/FMResultSet.h; sourceTree = ""; };
- 6AC4DC3453D344EE0548E054C3750260 /* PathProviderPlugin.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = PathProviderPlugin.m; sourceTree = ""; };
- 6D76813CB39ACC402A9EE3DC12B4E682 /* FMDB-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FMDB-dummy.m"; sourceTree = ""; };
- 71B69D4A7150AC2F65A57B7D04F092D4 /* FMResultSet.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMResultSet.m; path = src/fmdb/FMResultSet.m; sourceTree = ""; };
- 859495150A1CA9A06BB797FA29E850C3 /* Pods-Runner-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Runner-acknowledgements.plist"; sourceTree = ""; };
- 91893D40185E0EFA40FC217BE44A7C0D /* FMDB.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDB.h; path = src/fmdb/FMDB.h; sourceTree = ""; };
- 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
- A1448204AE8E2DC37C8C36438BED7AD8 /* FMDB-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FMDB-prefix.pch"; sourceTree = ""; };
- A47118E0497C287385E5E40F74B45592 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-Runner.a"; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- A52E6E664A33D0ADBF28C096726C8FAA /* libsqflite.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libsqflite.a; path = libsqflite.a; sourceTree = BUILT_PRODUCTS_DIR; };
- B2AC8D08AB9E95E701EC049C53414AEB /* FMDB.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FMDB.xcconfig; sourceTree = ""; };
- C01D2261DFAB70EC8E5F1A1385D6F66E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Runner.debug.xcconfig"; sourceTree = ""; };
- C11A8F38580C7A7FF38ACB6A3B412884 /* FMDatabaseQueue.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseQueue.m; path = src/fmdb/FMDatabaseQueue.m; sourceTree = ""; };
- CAA729AA4202C0AC1EA594504353C960 /* Pods-Runner.debug-develop.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Runner.debug-develop.xcconfig"; sourceTree = ""; };
- D2DD52CB174E1DC79111C38E770F6FC8 /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseAdditions.h; path = src/fmdb/FMDatabaseAdditions.h; sourceTree = ""; };
- DC7C30F9E55829B027C4913D1F19D68C /* FMDatabase.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabase.m; path = src/fmdb/FMDatabase.m; sourceTree = ""; };
- F106895603183989173BE0D345A2711F /* path_provider.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = path_provider.xcconfig; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 2691969551FD49C82DB8BD80506FBE6D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 731E8A5B80ABFB6037EE3757A840E7EE /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 7D97D7AFDFEB2319B71726B0C7C35081 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- F6B5EEC2E3BC8722930840274D92FDC9 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- C8ECFE49FBB48866AF20945FA64C3E9A /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 81DC828A0B2DBF6E914B43538C678149 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- E77DFBE401E6EB8D3FDB709749F7756D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 1FB202F9CC5A6B1BDF544D6331CC65E9 /* Foundation.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 033F0D85B80657883D6B8D03937F6047 /* sqflite */ = {
- isa = PBXGroup;
- children = (
- 8D91B5C28ED05631F40CE4DF7378F09E /* Classes */,
- AE2301D7E2F1890611E1597CA8D966BD /* Support Files */,
- );
- name = sqflite;
- path = "/Users/ntrlab/.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios";
- sourceTree = "";
- };
- 0731E9A857A43580399655CFE24C9754 /* Classes */ = {
- isa = PBXGroup;
- children = (
- 43ADCBB14A964C5A31E1435545C7C49A /* PathProviderPlugin.h */,
- 6AC4DC3453D344EE0548E054C3750260 /* PathProviderPlugin.m */,
- );
- name = Classes;
- path = Classes;
- sourceTree = "";
- };
- 1A3BC54721BAA16B749DAA153DA8F5A5 /* Targets Support Files */ = {
- isa = PBXGroup;
- children = (
- 1ED71CDAF10774FBCFDB21E8A5C8D130 /* Pods-Runner */,
- );
- name = "Targets Support Files";
- sourceTree = "";
- };
- 1ED71CDAF10774FBCFDB21E8A5C8D130 /* Pods-Runner */ = {
- isa = PBXGroup;
- children = (
- 3F8DCA264D4A7E7254305B946F3D73F0 /* Pods-Runner-acknowledgements.markdown */,
- 859495150A1CA9A06BB797FA29E850C3 /* Pods-Runner-acknowledgements.plist */,
- 1086A466F3A8C5B95BB9FFDFF3E7C0C7 /* Pods-Runner-dummy.m */,
- 180AB1F194E38A2A27B5CEB66C9A1F09 /* Pods-Runner-frameworks.sh */,
- 5C8299479CF1A66A335CD3BB7C3632ED /* Pods-Runner-resources.sh */,
- C01D2261DFAB70EC8E5F1A1385D6F66E /* Pods-Runner.debug.xcconfig */,
- CAA729AA4202C0AC1EA594504353C960 /* Pods-Runner.debug-develop.xcconfig */,
- 4532A70C1CFAB30C4266017A71B77D1F /* Pods-Runner.release.xcconfig */,
- );
- name = "Pods-Runner";
- path = "Target Support Files/Pods-Runner";
- sourceTree = "";
- };
- 2F8F14E5550349C5D699E6CDAA89431B /* path_provider */ = {
- isa = PBXGroup;
- children = (
- 0731E9A857A43580399655CFE24C9754 /* Classes */,
- DE2DE5E3371B71E876D9A74910E0F059 /* Support Files */,
- );
- name = path_provider;
- path = "/Users/ntrlab/.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios";
- sourceTree = "";
- };
- 3AE5C329546DC7C9F95F27D9480AC3B5 /* Development Pods */ = {
- isa = PBXGroup;
- children = (
- B3414820CF29E105FCE3552EF4656B6F /* Flutter */,
- 2F8F14E5550349C5D699E6CDAA89431B /* path_provider */,
- 033F0D85B80657883D6B8D03937F6047 /* sqflite */,
- );
- name = "Development Pods";
- sourceTree = "";
- };
- 64A6B117D4CD0E751BFC131087154F68 /* Products */ = {
- isa = PBXGroup;
- children = (
- 003397356FD1052F1B7B632E25DB1274 /* libFMDB.a */,
- 01FFC258241FD6531167B29D7C3AABCE /* libpath_provider.a */,
- A47118E0497C287385E5E40F74B45592 /* libPods-Runner.a */,
- A52E6E664A33D0ADBF28C096726C8FAA /* libsqflite.a */,
- );
- name = Products;
- sourceTree = "";
- };
- 6A65CEB166911CC900621A37BC272B1F /* Support Files */ = {
- isa = PBXGroup;
- children = (
- B2AC8D08AB9E95E701EC049C53414AEB /* FMDB.xcconfig */,
- 6D76813CB39ACC402A9EE3DC12B4E682 /* FMDB-dummy.m */,
- A1448204AE8E2DC37C8C36438BED7AD8 /* FMDB-prefix.pch */,
- );
- name = "Support Files";
- path = "../Target Support Files/FMDB";
- sourceTree = "";
- };
- 7DB346D0F39D3F0E887471402A8071AB = {
- isa = PBXGroup;
- children = (
- 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
- 3AE5C329546DC7C9F95F27D9480AC3B5 /* Development Pods */,
- BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */,
- BFB8C92E749ED180124155E2270474D2 /* Pods */,
- 64A6B117D4CD0E751BFC131087154F68 /* Products */,
- 1A3BC54721BAA16B749DAA153DA8F5A5 /* Targets Support Files */,
- );
- sourceTree = "";
- };
- 8D91B5C28ED05631F40CE4DF7378F09E /* Classes */ = {
- isa = PBXGroup;
- children = (
- 245693FC3F354C3C436CD1E7968FD32E /* SqflitePlugin.h */,
- 3873B941D43C943B5E65CE21BA4EA45F /* SqflitePlugin.m */,
- );
- name = Classes;
- path = Classes;
- sourceTree = "";
- };
- AE2301D7E2F1890611E1597CA8D966BD /* Support Files */ = {
- isa = PBXGroup;
- children = (
- 415E1188B3202852749D1EFFEEB90485 /* sqflite.xcconfig */,
- 0AEE6E6B79FE3A05399CBC9D72C09209 /* sqflite-dummy.m */,
- 0176FEA81EA118E60DB16DFEF750F575 /* sqflite-prefix.pch */,
- );
- name = "Support Files";
- path = "../../../../../semyon/apps/checker/ios/Pods/Target Support Files/sqflite";
- sourceTree = "";
- };
- B3414820CF29E105FCE3552EF4656B6F /* Flutter */ = {
- isa = PBXGroup;
- children = (
- DE76559F1F56B9B93DD17897DEE2313C /* Frameworks */,
- );
- name = Flutter;
- path = /Users/ntrlab/flutter/bin/cache/artifacts/engine/ios;
- sourceTree = "";
- };
- BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- D35AF013A5F0BAD4F32504907A52519E /* iOS */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- BFB8C92E749ED180124155E2270474D2 /* Pods */ = {
- isa = PBXGroup;
- children = (
- DEA37EDFE575D4B41E183255F5C2B8C8 /* FMDB */,
- );
- name = Pods;
- sourceTree = "";
- };
- C89A6930D6DE6039F840782BFE7A2DFB /* standard */ = {
- isa = PBXGroup;
- children = (
- 638E465E4B27490B0FB423614C3ADD11 /* FMDatabase.h */,
- DC7C30F9E55829B027C4913D1F19D68C /* FMDatabase.m */,
- D2DD52CB174E1DC79111C38E770F6FC8 /* FMDatabaseAdditions.h */,
- 3BCC0EED53ED8D7C1931178E0E4269B4 /* FMDatabaseAdditions.m */,
- 1AF3AEDDA16DD8E28B59FF0788FDDC03 /* FMDatabasePool.h */,
- 400AFB42920EB39709666D3F1A73D6C2 /* FMDatabasePool.m */,
- 33F15B71183AD666DFC49D907F769ACF /* FMDatabaseQueue.h */,
- C11A8F38580C7A7FF38ACB6A3B412884 /* FMDatabaseQueue.m */,
- 91893D40185E0EFA40FC217BE44A7C0D /* FMDB.h */,
- 69CC8B63F837EA7B053AB8BA07253A25 /* FMResultSet.h */,
- 71B69D4A7150AC2F65A57B7D04F092D4 /* FMResultSet.m */,
- );
- name = standard;
- sourceTree = "";
- };
- D35AF013A5F0BAD4F32504907A52519E /* iOS */ = {
- isa = PBXGroup;
- children = (
- 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */,
- );
- name = iOS;
- sourceTree = "";
- };
- DE2DE5E3371B71E876D9A74910E0F059 /* Support Files */ = {
- isa = PBXGroup;
- children = (
- F106895603183989173BE0D345A2711F /* path_provider.xcconfig */,
- 01EE1398A8E1CE9BAB2759C0904398ED /* path_provider-dummy.m */,
- 6275B5E067A1E7C9B5D3A5FCAD7BB17E /* path_provider-prefix.pch */,
- );
- name = "Support Files";
- path = "../../../../../semyon/apps/checker/ios/Pods/Target Support Files/path_provider";
- sourceTree = "";
- };
- DE76559F1F56B9B93DD17897DEE2313C /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 5047ABF432994AE77E6A7D53ABAF250B /* Flutter.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- DEA37EDFE575D4B41E183255F5C2B8C8 /* FMDB */ = {
- isa = PBXGroup;
- children = (
- C89A6930D6DE6039F840782BFE7A2DFB /* standard */,
- 6A65CEB166911CC900621A37BC272B1F /* Support Files */,
- );
- name = FMDB;
- path = FMDB;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
- 6D5F5A8571DEBE7AC0FE0D3455AFBA46 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 05A982FECA099A43B0BC98D622441FAE /* PathProviderPlugin.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 9E575053C725E72B7BAB34F8DAFC6ED9 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 0275983C85B82B8AEF3C4BBEDF6F8F65 /* SqflitePlugin.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D5650189FDD09F93190F9E91CA770458 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- FE229C815FB3207DEA535129B9A252ED /* FMDatabase.h in Headers */,
- DBC373403E0C92A8A2C4BC2D4614A5F2 /* FMDatabaseAdditions.h in Headers */,
- 6CBBBD55FA103C4CDEB6D91AF00CD1B8 /* FMDatabasePool.h in Headers */,
- A44C9EAA45872D379216F27269E493F1 /* FMDatabaseQueue.h in Headers */,
- F4B3EA658E75B0E535C3DEFE24148F0C /* FMDB.h in Headers */,
- 0DDFE649E817E8E428BD87DBFA928B6A /* FMResultSet.h in Headers */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
- 1749C1BD4B48236EAC7E2B8B03365028 /* FMDB */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 7BB2C93DA9F2A87B6FBF78336D22F4E2 /* Build configuration list for PBXNativeTarget "FMDB" */;
- buildPhases = (
- 6EF47EAA0B26CBCD573B43FA4A36E6AD /* Sources */,
- 2691969551FD49C82DB8BD80506FBE6D /* Frameworks */,
- D5650189FDD09F93190F9E91CA770458 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = FMDB;
- productName = FMDB;
- productReference = 003397356FD1052F1B7B632E25DB1274 /* libFMDB.a */;
- productType = "com.apple.product-type.library.static";
- };
- 4359B870C8D9828950479A4FB3819805 /* Pods-Runner */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 27B85248B7D0D96FB62824F4BCC6ED8E /* Build configuration list for PBXNativeTarget "Pods-Runner" */;
- buildPhases = (
- D88643062B7602B884A23652394EF04D /* Sources */,
- 7D97D7AFDFEB2319B71726B0C7C35081 /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- F7DB24951F99AD79C9A3C20642E862B8 /* PBXTargetDependency */,
- 64607DA0D639AA1ADA9A7F9439DD9979 /* PBXTargetDependency */,
- 37B40D53FFD1D0F7A73461F844114416 /* PBXTargetDependency */,
- );
- name = "Pods-Runner";
- productName = "Pods-Runner";
- productReference = A47118E0497C287385E5E40F74B45592 /* libPods-Runner.a */;
- productType = "com.apple.product-type.library.static";
- };
- 8944BF05BFD79D97D838CC043D5F737A /* sqflite */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = D683C7800E224AA1BCE1A5D1014095AA /* Build configuration list for PBXNativeTarget "sqflite" */;
- buildPhases = (
- 070684A2243BD9D4CF0E21C7015C4C49 /* Sources */,
- E77DFBE401E6EB8D3FDB709749F7756D /* Frameworks */,
- 9E575053C725E72B7BAB34F8DAFC6ED9 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- 12AA7F134C7776C175CA8EE34B87B4F8 /* PBXTargetDependency */,
- );
- name = sqflite;
- productName = sqflite;
- productReference = A52E6E664A33D0ADBF28C096726C8FAA /* libsqflite.a */;
- productType = "com.apple.product-type.library.static";
- };
- D597B65EAF1279E7C5637291B916DDC5 /* path_provider */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 20E959984CF6E2A34CFF08E1335F922A /* Build configuration list for PBXNativeTarget "path_provider" */;
- buildPhases = (
- FC0496B502691C4870045CFBB8579F55 /* Sources */,
- C8ECFE49FBB48866AF20945FA64C3E9A /* Frameworks */,
- 6D5F5A8571DEBE7AC0FE0D3455AFBA46 /* Headers */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = path_provider;
- productName = path_provider;
- productReference = 01FFC258241FD6531167B29D7C3AABCE /* libpath_provider.a */;
- productType = "com.apple.product-type.library.static";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0830;
- LastUpgradeCheck = 0700;
- };
- buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
- compatibilityVersion = "Xcode 3.2";
- developmentRegion = English;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- );
- mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
- productRefGroup = 64A6B117D4CD0E751BFC131087154F68 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 1749C1BD4B48236EAC7E2B8B03365028 /* FMDB */,
- D597B65EAF1279E7C5637291B916DDC5 /* path_provider */,
- 4359B870C8D9828950479A4FB3819805 /* Pods-Runner */,
- 8944BF05BFD79D97D838CC043D5F737A /* sqflite */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
- 070684A2243BD9D4CF0E21C7015C4C49 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 534A2178342F283B51EACFFDFFE40191 /* sqflite-dummy.m in Sources */,
- F758CC216AD6D5080A98A5C906D21B8F /* SqflitePlugin.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 6EF47EAA0B26CBCD573B43FA4A36E6AD /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 964F7658C2F163B024D944143BA2B366 /* FMDatabase.m in Sources */,
- 885FA5A8E4062F05235E1BB351829299 /* FMDatabaseAdditions.m in Sources */,
- 5E4CF03E66D6F8A4740E7E79DEB429BD /* FMDatabasePool.m in Sources */,
- DC2DD5729CD216714D698D25901C2214 /* FMDatabaseQueue.m in Sources */,
- F703EABB9F02DB9BBD35F2898762FF82 /* FMDB-dummy.m in Sources */,
- 0A3AA45E708AEBE5491F112FF86826E6 /* FMResultSet.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- D88643062B7602B884A23652394EF04D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 5F3656EE3D432CA623783D4CF342F0D8 /* Pods-Runner-dummy.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- FC0496B502691C4870045CFBB8579F55 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- CCCE6327D9EB4C3524863A4C9F40A534 /* path_provider-dummy.m in Sources */,
- FFE88F263143BC1EEE55869071E74417 /* PathProviderPlugin.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 12AA7F134C7776C175CA8EE34B87B4F8 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = FMDB;
- target = 1749C1BD4B48236EAC7E2B8B03365028 /* FMDB */;
- targetProxy = 7E2FFC2CFE997942328BDACF01A8FE55 /* PBXContainerItemProxy */;
- };
- 37B40D53FFD1D0F7A73461F844114416 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = sqflite;
- target = 8944BF05BFD79D97D838CC043D5F737A /* sqflite */;
- targetProxy = 390F2857FFCF75A8AEB952F17697D1B7 /* PBXContainerItemProxy */;
- };
- 64607DA0D639AA1ADA9A7F9439DD9979 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = path_provider;
- target = D597B65EAF1279E7C5637291B916DDC5 /* path_provider */;
- targetProxy = 8BDBB193AD09EBE36526DF24B4F56DBD /* PBXContainerItemProxy */;
- };
- F7DB24951F99AD79C9A3C20642E862B8 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- name = FMDB;
- target = 1749C1BD4B48236EAC7E2B8B03365028 /* FMDB */;
- targetProxy = 252BB7AED6C04DAC85EF7E1F570DE6AC /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
- 07D867E55B5AB8B7870C1E6A33FEBBBB /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B2AC8D08AB9E95E701EC049C53414AEB /* FMDB.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 4.3;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Release;
- };
- 19A0575138638B2F05A2B2FD69B99D6D /* Debug-develop */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = F106895603183989173BE0D345A2711F /* path_provider.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/path_provider/path_provider-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = "Debug-develop";
- };
- 34FE9531DA9AF2820790339988D5FF41 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGNING_REQUIRED = NO;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_RELEASE=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 36C84D228145088456A73665FB1B23E0 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = C01D2261DFAB70EC8E5F1A1385D6F66E /* Pods-Runner.debug.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MACH_O_TYPE = staticlib;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Debug;
- };
- 370B7DE297A709920A0BB2EBD76A76E3 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = F106895603183989173BE0D345A2711F /* path_provider.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/path_provider/path_provider-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Release;
- };
- 7173E8A291934D86B87B7C8172E6600D /* Debug-develop */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B2AC8D08AB9E95E701EC049C53414AEB /* FMDB.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 4.3;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = "Debug-develop";
- };
- 8C006BAAA9098B2F3F3C6EF9B1943E46 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = B2AC8D08AB9E95E701EC049C53414AEB /* FMDB.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 4.3;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Debug;
- };
- A0EEA53CE53D55CAD4CF4557B09FCDD8 /* Debug-develop */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = CAA729AA4202C0AC1EA594504353C960 /* Pods-Runner.debug-develop.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MACH_O_TYPE = staticlib;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = "Debug-develop";
- };
- AD714A0D211F78772AFC63199D14B09B /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 4532A70C1CFAB30C4266017A71B77D1F /* Pods-Runner.release.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MACH_O_TYPE = staticlib;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PODS_ROOT = "$(SRCROOT)";
- PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- };
- name = Release;
- };
- C104F7F091290C3D1E248192F07FE689 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGNING_REQUIRED = NO;
- COPY_PHASE_STRIP = NO;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_DEBUG=1",
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_SYMBOLS_PRIVATE_EXTERN = NO;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- ONLY_ACTIVE_ARCH = YES;
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
- STRIP_INSTALLED_PRODUCT = NO;
- SYMROOT = "${SRCROOT}/../build";
- };
- name = Debug;
- };
- C1D46DF380F875E0EE98CD16DDD762FB /* Debug-develop */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 415E1188B3202852749D1EFFEEB90485 /* sqflite.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/sqflite/sqflite-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = "Debug-develop";
- };
- F79D889AB2DE4197969513B633117EA2 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 415E1188B3202852749D1EFFEEB90485 /* sqflite.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/sqflite/sqflite-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Release;
- };
- F93F83D9876E7DC43B24692C6B5E2309 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = F106895603183989173BE0D345A2711F /* path_provider.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/path_provider/path_provider-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Debug;
- };
- FC09EFEE9A0D51D6A5402A3F2103CBA8 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 415E1188B3202852749D1EFFEEB90485 /* sqflite.xcconfig */;
- buildSettings = {
- ARCHS = (
- "$(ARCHS_STANDARD)",
- arm64,
- arm7s,
- armv7,
- );
- "CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
- "CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_BITCODE = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREFIX_HEADER = "Target Support Files/sqflite/sqflite-prefix.pch";
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- OTHER_LDFLAGS = "";
- OTHER_LIBTOOLFLAGS = "";
- PRIVATE_HEADERS_FOLDER_PATH = "";
- PRODUCT_NAME = "$(TARGET_NAME)";
- PUBLIC_HEADERS_FOLDER_PATH = "";
- SDKROOT = iphoneos;
- SKIP_INSTALL = YES;
- SWIFT_VERSION = 3.0;
- };
- name = Debug;
- };
- FE87B77707AE47DF6E63C7626B38A635 /* Debug-develop */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- CODE_SIGNING_REQUIRED = NO;
- COPY_PHASE_STRIP = YES;
- ENABLE_NS_ASSERTIONS = NO;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "POD_CONFIGURATION_DEBUG_DEVELOP=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 8.0;
- PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
- STRIP_INSTALLED_PRODUCT = NO;
- VALIDATE_PRODUCT = YES;
- };
- name = "Debug-develop";
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 20E959984CF6E2A34CFF08E1335F922A /* Build configuration list for PBXNativeTarget "path_provider" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- F93F83D9876E7DC43B24692C6B5E2309 /* Debug */,
- 19A0575138638B2F05A2B2FD69B99D6D /* Debug-develop */,
- 370B7DE297A709920A0BB2EBD76A76E3 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 27B85248B7D0D96FB62824F4BCC6ED8E /* Build configuration list for PBXNativeTarget "Pods-Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 36C84D228145088456A73665FB1B23E0 /* Debug */,
- A0EEA53CE53D55CAD4CF4557B09FCDD8 /* Debug-develop */,
- AD714A0D211F78772AFC63199D14B09B /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- C104F7F091290C3D1E248192F07FE689 /* Debug */,
- FE87B77707AE47DF6E63C7626B38A635 /* Debug-develop */,
- 34FE9531DA9AF2820790339988D5FF41 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 7BB2C93DA9F2A87B6FBF78336D22F4E2 /* Build configuration list for PBXNativeTarget "FMDB" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 8C006BAAA9098B2F3F3C6EF9B1943E46 /* Debug */,
- 7173E8A291934D86B87B7C8172E6600D /* Debug-develop */,
- 07D867E55B5AB8B7870C1E6A33FEBBBB /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- D683C7800E224AA1BCE1A5D1014095AA /* Build configuration list for PBXNativeTarget "sqflite" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- FC09EFEE9A0D51D6A5402A3F2103CBA8 /* Debug */,
- C1D46DF380F875E0EE98CD16DDD762FB /* Debug-develop */,
- F79D889AB2DE4197969513B633117EA2 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/FMDB.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/FMDB.xcscheme
deleted file mode 100644
index 62095c4..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/FMDB.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/Pods-Runner.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/Pods-Runner.xcscheme
deleted file mode 100644
index 51a37a5..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/Pods-Runner.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/path_provider.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/path_provider.xcscheme
deleted file mode 100644
index 115e6c7..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/path_provider.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/sqflite.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/sqflite.xcscheme
deleted file mode 100644
index f264f5e..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/sqflite.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/xcschememanagement.plist b/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/xcschememanagement.plist
deleted file mode 100644
index be13bd6..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/ntrlab.xcuserdatad/xcschemes/xcschememanagement.plist
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
- SchemeUserState
-
- FMDB.xcscheme
-
- isShown
-
- orderHint
- 1
-
- Pods-Runner.xcscheme
-
- isShown
-
- orderHint
- 3
-
- path_provider.xcscheme
-
- isShown
-
- orderHint
- 2
-
- sqflite.xcscheme
-
- isShown
-
- orderHint
- 4
-
-
- SuppressBuildableAutocreation
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/FMDB.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/FMDB.xcscheme
deleted file mode 100644
index 62095c4..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/FMDB.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/Pods-Runner.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/Pods-Runner.xcscheme
deleted file mode 100644
index 51a37a5..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/Pods-Runner.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/path_provider.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/path_provider.xcscheme
deleted file mode 100644
index 115e6c7..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/path_provider.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/sqflite.xcscheme b/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/sqflite.xcscheme
deleted file mode 100644
index f264f5e..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/sqflite.xcscheme
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/xcschememanagement.plist b/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/xcschememanagement.plist
deleted file mode 100644
index cb9967c..0000000
--- a/ios/Pods/Pods.xcodeproj/xcuserdata/sozinov_work.xcuserdatad/xcschemes/xcschememanagement.plist
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
- SchemeUserState
-
- FMDB.xcscheme
-
- isShown
-
-
- Pods-Runner.xcscheme
-
- isShown
-
-
- path_provider.xcscheme
-
- isShown
-
-
- sqflite.xcscheme
-
- isShown
-
-
-
- SuppressBuildableAutocreation
-
-
-
diff --git a/ios/Pods/Target Support Files/FMDB/FMDB-dummy.m b/ios/Pods/Target Support Files/FMDB/FMDB-dummy.m
deleted file mode 100644
index 20ea8f1..0000000
--- a/ios/Pods/Target Support Files/FMDB/FMDB-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import
-@interface PodsDummy_FMDB : NSObject
-@end
-@implementation PodsDummy_FMDB
-@end
diff --git a/ios/Pods/Target Support Files/FMDB/FMDB-prefix.pch b/ios/Pods/Target Support Files/FMDB/FMDB-prefix.pch
deleted file mode 100644
index beb2a24..0000000
--- a/ios/Pods/Target Support Files/FMDB/FMDB-prefix.pch
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifdef __OBJC__
-#import
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
diff --git a/ios/Pods/Target Support Files/FMDB/FMDB.xcconfig b/ios/Pods/Target Support Files/FMDB/FMDB.xcconfig
deleted file mode 100644
index 0da63aa..0000000
--- a/ios/Pods/Target Support Files/FMDB/FMDB.xcconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FMDB
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FMDB" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/Flutter" "${PODS_ROOT}/Headers/Public/path_provider" "${PODS_ROOT}/Headers/Public/sqflite"
-OTHER_LDFLAGS = -l"sqlite3"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/FMDB
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.markdown b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.markdown
deleted file mode 100644
index e8dcf63..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.markdown
+++ /dev/null
@@ -1,125 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## FMDB
-
-If you are using FMDB in your project, I'd love to hear about it. Let Gus know
-by sending an email to gus@flyingmeat.com.
-
-And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you
-might consider purchasing a drink of their choosing if FMDB has been useful to
-you.
-
-Finally, and shortly, this is the MIT License.
-
-Copyright (c) 2008-2014 Flying Meat Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-## Flutter
-
-// Copyright 2014 The Chromium Authors. All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-// * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-## path_provider
-
-Copyright 2017, the Flutter project authors. All rights reserved.
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
- * Neither the name of Google Inc. nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-## sqflite
-
-// Copyright 2017 Your Company. All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-// * Neither the name of Your Company nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Generated by CocoaPods - https://cocoapods.org
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.plist b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.plist
deleted file mode 100644
index 608196e..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-acknowledgements.plist
+++ /dev/null
@@ -1,171 +0,0 @@
-
-
-
-
- PreferenceSpecifiers
-
-
- FooterText
- This application makes use of the following third party libraries:
- Title
- Acknowledgements
- Type
- PSGroupSpecifier
-
-
- FooterText
- If you are using FMDB in your project, I'd love to hear about it. Let Gus know
-by sending an email to gus@flyingmeat.com.
-
-And if you happen to come across either Gus Mueller or Rob Ryan in a bar, you
-might consider purchasing a drink of their choosing if FMDB has been useful to
-you.
-
-Finally, and shortly, this is the MIT License.
-
-Copyright (c) 2008-2014 Flying Meat Inc.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
- License
- MIT
- Title
- FMDB
- Type
- PSGroupSpecifier
-
-
- FooterText
- // Copyright 2014 The Chromium Authors. All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-// * Neither the name of Google Inc. nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- License
- MIT
- Title
- Flutter
- Type
- PSGroupSpecifier
-
-
- FooterText
- Copyright 2017, the Flutter project authors. All rights reserved.
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
- * Neither the name of Google Inc. nor the names of its
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- Title
- path_provider
- Type
- PSGroupSpecifier
-
-
- FooterText
- // Copyright 2017 Your Company. All rights reserved.
-//
-// Redistribution and use in source and binary forms, with or without
-// modification, are permitted provided that the following conditions are
-// met:
-//
-// * Redistributions of source code must retain the above copyright
-// notice, this list of conditions and the following disclaimer.
-// * Redistributions in binary form must reproduce the above
-// copyright notice, this list of conditions and the following disclaimer
-// in the documentation and/or other materials provided with the
-// distribution.
-// * Neither the name of Your Company nor the names of its
-// contributors may be used to endorse or promote products derived from
-// this software without specific prior written permission.
-//
-// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
- Title
- sqflite
- Type
- PSGroupSpecifier
-
-
- FooterText
- Generated by CocoaPods - https://cocoapods.org
- Title
-
- Type
- PSGroupSpecifier
-
-
- StringsTable
- Acknowledgements
- Title
- Acknowledgements
-
-
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m
deleted file mode 100644
index 0b73bc1..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import
-@interface PodsDummy_Pods_Runner : NSObject
-@end
-@implementation PodsDummy_Pods_Runner
-@end
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh
deleted file mode 100755
index e476d7a..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-set -e
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-install_framework()
-{
- if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
- local source="${BUILT_PRODUCTS_DIR}/$1"
- elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
- local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
- elif [ -r "$1" ]; then
- local source="$1"
- fi
-
- local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
- if [ -L "${source}" ]; then
- echo "Symlinked..."
- source="$(readlink "${source}")"
- fi
-
- # use filter instead of exclude so missing patterns dont' throw errors
- echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
- rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
-
- local basename
- basename="$(basename -s .framework "$1")"
- binary="${destination}/${basename}.framework/${basename}"
- if ! [ -r "$binary" ]; then
- binary="${destination}/${basename}"
- fi
-
- # Strip invalid architectures so "fat" simulator / device frameworks work on device
- if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
- strip_invalid_archs "$binary"
- fi
-
- # Resign the code if required by the build settings to avoid unstable apps
- code_sign_if_enabled "${destination}/$(basename "$1")"
-
- # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
- if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
- local swift_runtime_libs
- swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]})
- for lib in $swift_runtime_libs; do
- echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
- rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
- code_sign_if_enabled "${destination}/${lib}"
- done
- fi
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
- if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
- # Use the current code_sign_identitiy
- echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
- local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'"
-
- if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
- code_sign_cmd="$code_sign_cmd &"
- fi
- echo "$code_sign_cmd"
- eval "$code_sign_cmd"
- fi
-}
-
-# Strip invalid architectures
-strip_invalid_archs() {
- binary="$1"
- # Get architectures for current file
- archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
- stripped=""
- for arch in $archs; do
- if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
- # Strip non-valid architectures in-place
- lipo -remove "$arch" -output "$binary" "$binary" || exit 1
- stripped="$stripped $arch"
- fi
- done
- if [[ "$stripped" ]]; then
- echo "Stripped $binary of architectures:$stripped"
- fi
-}
-
-
-if [[ "$CONFIGURATION" == "Debug" ]]; then
- install_framework "${PODS_ROOT}/../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework"
-fi
-if [[ "$CONFIGURATION" == "Debug-develop" ]]; then
- install_framework "${PODS_ROOT}/../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework"
-fi
-if [[ "$CONFIGURATION" == "Release" ]]; then
- install_framework "${PODS_ROOT}/../../../../../flutter/bin/cache/artifacts/engine/ios/Flutter.framework"
-fi
-if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
- wait
-fi
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh
deleted file mode 100755
index aed060f..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-resources.sh
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-case "${TARGETED_DEVICE_FAMILY}" in
- 1,2)
- TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
- ;;
- 1)
- TARGET_DEVICE_ARGS="--target-device iphone"
- ;;
- 2)
- TARGET_DEVICE_ARGS="--target-device ipad"
- ;;
- 3)
- TARGET_DEVICE_ARGS="--target-device tv"
- ;;
- 4)
- TARGET_DEVICE_ARGS="--target-device watch"
- ;;
- *)
- TARGET_DEVICE_ARGS="--target-device mac"
- ;;
-esac
-
-install_resource()
-{
- if [[ "$1" = /* ]] ; then
- RESOURCE_PATH="$1"
- else
- RESOURCE_PATH="${PODS_ROOT}/$1"
- fi
- if [[ ! -e "$RESOURCE_PATH" ]] ; then
- cat << EOM
-error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
-EOM
- exit 1
- fi
- case $RESOURCE_PATH in
- *.storyboard)
- echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
- ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
- ;;
- *.xib)
- echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
- ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
- ;;
- *.framework)
- echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
- ;;
- *.xcdatamodel)
- echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
- xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
- ;;
- *.xcdatamodeld)
- echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
- xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
- ;;
- *.xcmappingmodel)
- echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
- xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
- ;;
- *.xcassets)
- ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
- XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
- ;;
- *)
- echo "$RESOURCE_PATH"
- echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
- ;;
- esac
-}
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
- mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
- rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
- # Find all other xcassets (this unfortunately includes those of path pods and other targets).
- OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
- while read line; do
- if [[ $line != "${PODS_ROOT}*" ]]; then
- XCASSET_FILES+=("$line")
- fi
- done <<<"$OTHER_XCASSETS"
-
- printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-develop.xcconfig b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-develop.xcconfig
deleted file mode 100644
index cf9963a..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug-develop.xcconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../../../../../flutter/bin/cache/artifacts/engine/ios"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/Flutter" "${PODS_ROOT}/Headers/Public/path_provider" "${PODS_ROOT}/Headers/Public/sqflite"
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB" "$PODS_CONFIGURATION_BUILD_DIR/path_provider" "$PODS_CONFIGURATION_BUILD_DIR/sqflite"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/Flutter" -isystem "${PODS_ROOT}/Headers/Public/path_provider" -isystem "${PODS_ROOT}/Headers/Public/sqflite"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB" -l"path_provider" -l"sqflite" -l"sqlite3" -framework "Flutter"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig
deleted file mode 100644
index cf9963a..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../../../../../flutter/bin/cache/artifacts/engine/ios"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/Flutter" "${PODS_ROOT}/Headers/Public/path_provider" "${PODS_ROOT}/Headers/Public/sqflite"
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB" "$PODS_CONFIGURATION_BUILD_DIR/path_provider" "$PODS_CONFIGURATION_BUILD_DIR/sqflite"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/Flutter" -isystem "${PODS_ROOT}/Headers/Public/path_provider" -isystem "${PODS_ROOT}/Headers/Public/sqflite"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB" -l"path_provider" -l"sqflite" -l"sqlite3" -framework "Flutter"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig b/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig
deleted file mode 100644
index cf9963a..0000000
--- a/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/../../../../../flutter/bin/cache/artifacts/engine/ios"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/Flutter" "${PODS_ROOT}/Headers/Public/path_provider" "${PODS_ROOT}/Headers/Public/sqflite"
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB" "$PODS_CONFIGURATION_BUILD_DIR/path_provider" "$PODS_CONFIGURATION_BUILD_DIR/sqflite"
-OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/FMDB" -isystem "${PODS_ROOT}/Headers/Public/Flutter" -isystem "${PODS_ROOT}/Headers/Public/path_provider" -isystem "${PODS_ROOT}/Headers/Public/sqflite"
-OTHER_LDFLAGS = $(inherited) -ObjC -l"FMDB" -l"path_provider" -l"sqflite" -l"sqlite3" -framework "Flutter"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/ios/Pods/Target Support Files/path_provider/path_provider-dummy.m b/ios/Pods/Target Support Files/path_provider/path_provider-dummy.m
deleted file mode 100644
index 1f83b9d..0000000
--- a/ios/Pods/Target Support Files/path_provider/path_provider-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import
-@interface PodsDummy_path_provider : NSObject
-@end
-@implementation PodsDummy_path_provider
-@end
diff --git a/ios/Pods/Target Support Files/path_provider/path_provider-prefix.pch b/ios/Pods/Target Support Files/path_provider/path_provider-prefix.pch
deleted file mode 100644
index beb2a24..0000000
--- a/ios/Pods/Target Support Files/path_provider/path_provider-prefix.pch
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifdef __OBJC__
-#import
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
diff --git a/ios/Pods/Target Support Files/path_provider/path_provider.xcconfig b/ios/Pods/Target Support Files/path_provider/path_provider.xcconfig
deleted file mode 100644
index b4165a5..0000000
--- a/ios/Pods/Target Support Files/path_provider/path_provider.xcconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/path_provider
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/path_provider" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/Flutter" "${PODS_ROOT}/Headers/Public/path_provider" "${PODS_ROOT}/Headers/Public/sqflite"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../../../../.pub-cache/hosted/pub.dartlang.org/path_provider-0.2.1+1/ios
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/ios/Pods/Target Support Files/sqflite/sqflite-dummy.m b/ios/Pods/Target Support Files/sqflite/sqflite-dummy.m
deleted file mode 100644
index ddd8d3c..0000000
--- a/ios/Pods/Target Support Files/sqflite/sqflite-dummy.m
+++ /dev/null
@@ -1,5 +0,0 @@
-#import
-@interface PodsDummy_sqflite : NSObject
-@end
-@implementation PodsDummy_sqflite
-@end
diff --git a/ios/Pods/Target Support Files/sqflite/sqflite-prefix.pch b/ios/Pods/Target Support Files/sqflite/sqflite-prefix.pch
deleted file mode 100644
index beb2a24..0000000
--- a/ios/Pods/Target Support Files/sqflite/sqflite-prefix.pch
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifdef __OBJC__
-#import
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
diff --git a/ios/Pods/Target Support Files/sqflite/sqflite.xcconfig b/ios/Pods/Target Support Files/sqflite/sqflite.xcconfig
deleted file mode 100644
index 2f91f61..0000000
--- a/ios/Pods/Target Support Files/sqflite/sqflite.xcconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/sqflite
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/sqflite" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/FMDB" "${PODS_ROOT}/Headers/Public/Flutter" "${PODS_ROOT}/Headers/Public/path_provider" "${PODS_ROOT}/Headers/Public/sqflite"
-LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/FMDB"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../../../../.pub-cache/hosted/pub.dartlang.org/sqflite-0.2.4/ios
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/ios/Runner.xcworkspace/xcuserdata/ntrlab.xcuserdatad/UserInterfaceState.xcuserstate b/ios/Runner.xcworkspace/xcuserdata/ntrlab.xcuserdatad/UserInterfaceState.xcuserstate
index 200ec76..f85c4a7 100644
Binary files a/ios/Runner.xcworkspace/xcuserdata/ntrlab.xcuserdatad/UserInterfaceState.xcuserstate and b/ios/Runner.xcworkspace/xcuserdata/ntrlab.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/ios/develop/Info.plist b/ios/develop/Info.plist
deleted file mode 100644
index 16be3b6..0000000
--- a/ios/develop/Info.plist
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- 1.0
- CFBundleVersion
- 1
- LSRequiresIPhoneOS
-
- UILaunchStoryboardName
- LaunchScreen
- UIMainStoryboardFile
- Main
- UIRequiredDeviceCapabilities
-
- armv7
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
-
-
diff --git a/ios/develop/main.m b/ios/develop/main.m
deleted file mode 100644
index 7bb8192..0000000
--- a/ios/develop/main.m
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-// main.m
-// develop
-//
-// Created by Ntrlab on 23/10/2017.
-// Copyright © 2017 The Chromium Authors. All rights reserved.
-//
-
-#import
-#import "AppDelegate.h"
-
-int main(int argc, char * argv[]) {
- @autoreleasepool {
- return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
- }
-}