Commit Graph
8949 Commits
Author SHA1 Message Date
Gwendal Roué 6104d6193c FetchedRecordsController: found crashers 2016-03-18 06:17:13 +01:00
Gwendal Roué b45c711483 FetchedResultsController: replace "Result" by "Record", and "Change" by "Event" (this leaves changes free for actual row changes) 2016-03-17 13:27:06 +01:00
Gwendal Roué bebcefddcc FetchedResultsController: replace Delegate protocol with callbacks.
This change was required because the generic delegate methods did prevent the delegate to know the type of the changed objects.
2016-03-17 13:15:27 +01:00
Gwendal Roué 68a9089d14 Fix Tour.playground path 2016-03-17 13:14:41 +01:00
Gwendal Roué c6f96906ca Avoid build errors by using ad-hoc Swift modules that import the right sqlite3 header depending on the platform (MacOSX, iPhoneOS, iPhoneSimulator). 2016-03-17 08:54:09 +01:00
Gwendal Roué 9733fb22fd Merge branch 'master' into Swift2.2 2016-03-17 08:19:51 +01:00
Gwendal Roué e6010e334a One modulemap per target 2016-03-17 08:18:49 +01:00
Gwendal Roué 4f427601d4 Dictionary(_ sequence:) renamed to Dictionary(keyValueSequence:) 2016-03-17 08:08:26 +01:00
Gwendal Roué a716a5788d JSONSynchronization.playground: update for Swift 2.2 2016-03-17 08:07:59 +01:00
Gwendal Roué a308ffebeb Merge branch 'master' of github.com:groue/GRDB.swift into Swift2.2 2016-03-17 08:02:06 +01:00
Gwendal Roué 649667a403 Merge pull request #29 from mpurland/Swift2.2
Fixed Swift 2.2 compile error
2016-03-17 07:11:56 +01:00
Matthew Purland 97f9805afa Fixed Swift 2.2 compile error 2016-03-16 23:01:26 -07:00
Gwendal Roué 6d0cdcd20b FetchedResultsController: improve delegate API by extracting the rarely used changed object from the ResultChange enum 2016-03-16 23:33:31 +01:00
Gwendal Roué a8e85f2c41 FetchedResultsController: cleanup 2016-03-16 22:43:04 +01:00
Gwendal Roué 2e11551bd7 FetchedResultsController: cleanup 2016-03-16 22:04:23 +01:00
Gwendal Roué ea7aae603d FetchedResultsController: full features! 2016-03-16 21:49:30 +01:00
Gwendal Roué 6c3976e657 FetchedResultsController demo app tweak 2016-03-16 20:06:11 +01:00
Gwendal Roué 09abd1e5cd FetchedResultsController: don’t notify delegate when there is no change 2016-03-16 20:05:13 +01:00
Gwendal Roué d5d467192d TODO.md 2016-03-16 15:49:04 +01:00
Gwendal Roué d455e50a27 FetchedResultsController (breaking commit): attempt to communicate updates and changes 2016-03-16 14:11:15 +01:00
Gwendal Roué f7d9970842 Fix ==(Row, Row) 2016-03-16 14:09:29 +01:00
Gwendal Roué b4a7ba239c FetchedResultsController: improve general API consistency: use unlabelled arguments 2016-03-16 09:12:10 +01:00
Gwendal Roué 86e3fc7075 FetchedResultsController: improve resultAtIndexPath performance 2016-03-16 09:07:00 +01:00
Gwendal Roué be2ef28fad FetchedResultsController: throw errors for invalid sql arguments 2016-03-16 09:02:44 +01:00
Gwendal Roué 97fcdf9ce6 FetchedResultsController: remove Equatable requirement on fetched type. 2016-03-16 08:59:28 +01:00
Gwendal Roué b9f7ea187d FetchedResultsController: remove Equatable requirement on fetched type. 2016-03-16 08:40:24 +01:00
Gwendal Roué c8f5f1ae1d Row adopts Equatable 2016-03-16 08:36:55 +01:00
Gwendal Roué 92b8b00a49 FetchedResultsController: remove TableMapping requirement 2016-03-15 20:26:34 +01:00
Gwendal Roué eeddb32ab6 FetchedResultsController: only listen to changes in observed tables 2016-03-15 20:23:23 +01:00
Gwendal Roué c1a59a015c FetchedResultsController: perform the changes computation in a background queue 2016-03-15 19:49:00 +01:00
Gwendal Roué bc3b13d719 FetchedResultsController.indexPathForResult(_) is not implemented 2016-03-15 19:30:06 +01:00
Gwendal Roué 29dcbaeaa3 FetchedResultsController: add optional arguments to the sql initializer (be consistent with the rest of the library) 2016-03-15 19:29:17 +01:00
Gwendal Roué 46f6e6d1ea FetchedResultsController: gather SQL and FetchRequest in a common Source enum 2016-03-15 19:27:33 +01:00
Gwendal Roué c76b7a8b77 FetchedResultsController: gather SQL and FetchRequest in a common Source enum 2016-03-15 19:21:35 +01:00
Gwendal Roué 8514513af3 FetchedResultsController: register as a transaction observer once and only once. Don’t unregister, since transaction observers are weakly referenced. 2016-03-15 19:15:12 +01:00
Gwendal Roué dc2ee92404 Up to date GRDBDemoiOS demo of FetchedResultsController 2016-03-15 19:13:27 +01:00
Gwendal Roué 7cd5b881b2 Merge branch 'master' into FetchedRecordsController 2016-03-15 19:05:20 +01:00
Gwendal Roué 63545c1f08 Documentation 2016-03-15 19:05:04 +01:00
Gwendal Roué 171862097e Merge branch 'master' into FetchedRecordsController
Conflicts:
	GRDB.xcworkspace/contents.xcworkspacedata
2016-03-15 13:48:13 +01:00
Gwendal Roué ab69f64957 TODO.md 2016-03-15 09:51:49 +01:00
Gwendal Roué 91bf2a85d0 README.md 2016-03-15 09:12:34 +01:00
Gwendal Roué 6315aad0bc Improve performance of row copy 2016-03-15 08:43:48 +01:00
Gwendal Roué 613a0386bd Performance tests sure "modern" API calls 2016-03-15 08:42:51 +01:00
Gwendal Roué a79565bb65 README.md 2016-03-14 13:49:44 +01:00
Gwendal Roué 63213d7f10 v0.51.2 v0.51.2 2016-03-14 13:46:35 +01:00
Gwendal Roué 218d7a7f15 DatabaseStore: fix a race condition that could make us miss file attributes 2016-03-14 09:59:33 +01:00
Gwendal Roué 4f5e87b1e1 Documentation 2016-03-14 09:01:33 +01:00
Gwendal Roué 8ef27ccbf6 Documentation 2016-03-14 08:55:00 +01:00
Gwendal Roué b1e3aaf399 README.md 2016-03-14 05:33:23 +01:00
Gwendal Roué 1af1c84132 README.md 2016-03-14 05:32:02 +01:00