Commit Graph
600 Commits
Author SHA1 Message Date
Gwendal Roué 4592566748 FetchedRecordsController documentation 2016-03-26 13:41:00 +01:00
Gwendal Roué 22851dd9e8 FetchedRecordsController: fix indexPathForRecord 2016-03-26 13:37:56 +01:00
Gwendal Roué 87bab96097 FetchedRecordsController only tracks changes when it has a delegate. 2016-03-26 13:35:00 +01:00
Gwendal Roué 81ed566467 FetchedRecordsController TODO 2016-03-26 12:17:52 +01:00
Gwendal Roué 336220d998 FetchedRecordsController documentation 2016-03-26 08:34:08 +01:00
Gwendal Roué 859e71d976 FetchedRecordsController documentation 2016-03-26 08:23:09 +01:00
Gwendal Roué 18a63504ed FetchedRecordsController documentation 2016-03-25 08:45:12 +01:00
Gwendal Roué b13ad57ea5 FetchedRecordsController: Back to delegate pattern 2016-03-24 13:35:11 +01:00
Gwendal Roué eba839b58e FetchedRecordsController: Cleanup 2016-03-24 08:37:19 +01:00
Gwendal Roué 36a480a5fc FetchedRecordsController: Clean up 2016-03-24 06:33:05 +01:00
Gwendal Roué 9102c94db2 FetchedRecordsController: Fix tableView crashes 2016-03-23 20:04:00 +01:00
Gwendal Roué b24c872b52 RowConvertible.awakeFromFetch loses its database argument. FetchedRecordsController lazily instantiates records. 2016-03-23 13:44:05 +01:00
Gwendal Roué fdb31f37ba FetchedRecordsController: let the user choose the callback queue 2016-03-23 13:24:52 +01:00
Gwendal Roué c4c0e67407 FetchedRecordsController.recordAtIndexPath returns a non-optional (as NSFetchedResultsController does) 2016-03-23 09:08:38 +01:00
Gwendal Roué d0c5e98366 FetchedRecordsController: add initializer that compares record by primary key (if the record adopts MutablePersistable) 2016-03-23 08:54:02 +01:00
Gwendal Roué 83c5afdd2d FetchedRecordsController: define record comparison function in the controller’s initializer 2016-03-23 08:32:57 +01:00
Gwendal Roué 32461d221a Merge commit '7de27389aa89f731b977e2d046c8b12ff2191e5d' into FetchedRecordsController 2016-03-22 21:06:04 +01:00
Gwendal Roué e3ee49a868 FetchedRecordsController: properly serialize computations, require client access from main thread, fix known crashers 2016-03-21 14:08:36 +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é a308ffebeb Merge branch 'master' of github.com:groue/GRDB.swift into Swift2.2 2016-03-17 08:02:06 +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é 09abd1e5cd FetchedResultsController: don’t notify delegate when there is no change 2016-03-16 20:05:13 +01:00
Gwendal Roué d455e50a27 FetchedResultsController (breaking commit): attempt to communicate updates and changes 2016-03-16 14:11:15 +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é b9f7ea187d FetchedResultsController: remove Equatable requirement on fetched type. 2016-03-16 08:40:24 +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é afea1c4175 Remove useless complexity 2016-03-13 19:45:54 +01:00
Gwendal Roué f00dda7f43 Improve performance by removing useless retain/release 2016-03-13 19:20:52 +01:00
Gwendal Roué a14c3a2a60 Documentation 2016-03-12 08:47:33 +01:00
Gwendal Roué 9e9fafcc5c Documentation 2016-03-12 08:21:17 +01:00
Gwendal Roué 18b996e5bd Persistable.delete() uses DatabaseWriter instead of Database 2016-03-11 18:56:09 +01:00
Gwendal Roué 50cc857a3a Persistable.save() uses DatabaseWriter instead of Database 2016-03-11 18:51:34 +01:00