Commit Graph
165 Commits
Author SHA1 Message Date
Gwendal Roué 22faa03a48 Update sample code that create databases
The Application Support directory should generally be preferred.
2017-10-23 18:58:32 +02:00
Gwendal Roué b58cfefa13 Refactor database setup sample code so that database migrator can be tested 2017-10-03 08:40:44 +02:00
Gwendal Roué 719f33f7a7 GRDBDemoiOS: use default IPHONEOS_DEPLOYMENT_TARGET 2017-08-19 16:09:30 +02:00
Gwendal Roué c5da564fb3 Use built-in SQLite3 module when available 2017-08-19 15:21:44 +02:00
Gwendal Roué 06a6c982aa SE-0148 2017-08-18 14:22:14 +02:00
Gwendal Roué 895cda4de7 Xcode 9 beta 3 project updates 2017-08-18 14:20:35 +02:00
Gwendal Roué a913aba018 Replace persistentDictionary with encode(to:) 2017-06-20 07:54:19 +02:00
Gwendal Roué 840525c11a Improve DemoApps/GRDBDemoiOS/Database.swift 2017-05-05 08:05:28 +02:00
Gwendal Roué 4cdbe4f0f4 Use Database.logError in GRDBDemoiOS 2017-04-22 17:57:56 +02:00
Gwendal Roué 04654a5c85 Functional GRDBDemoWatchOS 2017-04-03 13:37:36 +02:00
Gwendal Roué e17c4e5271 GRDBDemoWatchOS 2017-04-03 13:10:24 +02:00
Gwendal Roué 2196158f58 Run GRDBDemoiOS in Release configuration 2017-04-01 14:13:38 +02:00
Gwendal Roué 51545c4db0 Share tested schemes + test GRCBCipheriOS installation (addresses #193) 2017-03-31 13:23:08 +02:00
Gwendal Roué 42a985112a Drop watchOS demo app 2017-03-30 22:47:53 +02:00
Gwendal Roué 8da9ad696b Fix signing of GRDBDemoWatchOS 2017-03-26 18:00:33 +02:00
Gwendal Roué bcdcceb809 Cleanup 2017-01-10 13:38:51 +01:00
Gwendal Roué e0cfd404a1 Update GRDBDemoiOS 2017-01-10 08:03:21 +01:00
Gwendal Roué 03740d0918 Remove FetchedRecordsController compareRecordsByPrimaryKey initializer option 2017-01-06 08:16:57 +01:00
Gwendal Roué baa9501c65 Fix-its for removed APIs. Update GRDBDemoiOS for FetchedRecordsController changes 2016-11-30 13:57:46 +01:00
Gwendal Roué 268080cbc5 #147: FetchedRecordsController.performFetch() can now throw database errors; remove work around for SR-2623 2016-11-27 08:19:43 +01:00
Gwendal Roué b01303f5ae GRDBDemoiOS: make setupDatabase() a throwing function 2016-09-29 10:06:50 +02:00
Gwendal Roué 2d8de7009b Swift 3 and watchOS 2016-09-10 16:28:18 +02:00
Gwendal Roué 912ec6a9e9 Cleanup 2016-09-10 15:34:32 +02:00
Gwendal Roué 7960528464 Update GRDBDemo iOS/watchOS for Xcode 8 GM 2016-09-08 09:06:44 +02:00
Gwendal Roué a8b067885f Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
	GRDB/Core/Database.swift
	README.md
	TODO.md
2016-09-08 08:37:58 +02:00
Gwendal Roué 0bd22281f7 GRDBDemoWatchOS 2016-09-07 22:51:12 +02:00
Gwendal Roué 5e0c9165ba Update project settings 2016-08-17 13:06:17 +02:00
Gwendal Roué 206e45214f Merge branch 'master' of github.com:groue/GRDB.swift into Swift3 2016-08-07 11:00:25 +02:00
Gwendal Roué ba2aef0468 Documentation 2016-08-07 10:59:56 +02:00
Gwendal Roué b8960c4549 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3
Conflicts:
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/PersonsViewController.swift
2016-08-07 10:48:46 +02:00
Gwendal Roué 358b823e00 GRDBDemoiOS: use table creation DSL 2016-08-07 10:44:19 +02:00
Gwendal Roué aa3a95f528 Swift 3 GRDBDemoiOS 2016-08-07 10:38:51 +02:00
Gwendal Roué 2d78d04d52 Update for Xcode Version 8.0 beta 4 (8S188o) 2016-08-01 22:33:50 +02:00
Gwendal Roué 23ffef8943 Swift3: turn TableMapping.databaseTableName() into a read-only property 2016-07-20 18:38:56 +02:00
Gwendal Roué 1d1d843dc7 Xcode 8 WIP 2016-06-14 20:05:13 +02:00
Gwendal Roué f45b9a3757 Xcode 8 WIP 2016-06-14 13:45:08 +02:00
Gwendal Roué 6ac2cd4686 Merge branch 'master' of github.com:groue/GRDB.swift into Swift3bis
Conflicts:
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/AppDatabase.swift
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/Person.swift
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonEditionViewController.swift
	DemoApps/GRDBDemoiOS7/GRDBDemoiOS7/PersonsViewController.swift
	GRDB/Core/Support/Foundation/NSNumber.swift
	GRDB/Core/Support/StandardLibrary/StandardLibrary.swift
	GRDB/Record/FetchedRecordsController.swift
	Tests/Public/Core/DatabaseValueConvertible/NSNumberTests.swift
	Tests/Public/FetchedRecordsController/FetchedRecordsControllerTests.swift
2016-06-07 19:01:08 +02:00
Gwendal Roué 93755a62aa Typo 2016-06-07 09:01:27 +02:00
Gwendal Roué 25476f2973 Drop the unmaintained GRDBDemoiOS7 app 2016-06-05 15:06:51 +02:00
Gwendal Roué a8f04a1ba5 GRDBDemoiOS: stress fetched records controller longer, so that we can check what happens when one leaves the table view controller as transactions are still running. Answer: we crash due to [unowned self] references being used after table view controller has been deallocated. 2016-06-04 18:22:18 +02:00
Gwendal Roué 7c4ff7677d swift-DEVELOPMENT-SNAPSHOT-2016-05-09-a 2016-06-02 08:38:15 +02:00
Gwendal Roué 5c065d3f8a FetchedRecordsController documentation 2016-05-12 07:54:57 +02:00
Gwendal Roué 04713d9652 FetchedRecordsController: use unowned self in callbacks 2016-05-11 10:04:22 +02:00
Gwendal Roué 050f432c10 FetchedRecordsController: callbacks must be set all at once. Restore optional tracking. 2016-05-11 08:32:11 +02:00
Gwendal Roué 1201f4e008 FetchedRecordsController: replace delegate with callbacks 2016-05-10 14:16:13 +02:00
Gwendal Roué 8bd22b545c Update GRDBDemoiOS app to block-based database accesses. 2016-04-08 08:40:57 +02:00
Gwendal Roué dc942c5734 The save() method now requires a Database connection argument, and won’t accept DatabaseQueue or DatabasePool directly. 2016-04-02 08:37:30 +02:00
Gwendal Roué bd3c39eaaf setupMemoryManagement() documentation 2016-03-31 16:38:57 +02:00
Gwendal Roué ef299acbe8 Memory management is not automatic when GRDB is built for iOS, but easier. 2016-03-31 16:26:07 +02:00
Gwendal Roué 005c4ded24 Memory management is automatic when GRDB is built for iOS 2016-03-31 14:26:59 +02:00