Commit Graph
96 Commits
Author SHA1 Message Date
Gwendal Roué d1b21708e6 Merge FetchedRecordsController demo in GRDBDemoiOS 2016-03-26 18:39:03 +01:00
Gwendal Roué 703aa07407 GRDBFetchedRecordsControllerDemo WIP 2016-03-26 18:33:39 +01:00
Gwendal Roué 6e2ed61743 GRDBFetchedRecordsControllerDemo WIP 2016-03-26 18:30:20 +01:00
Gwendal Roué c9ce98c5d5 GRDBFetchedRecordsControllerDemo WIP 2016-03-26 17:55:50 +01:00
Gwendal Roué f0c23b7244 GRDBFetchedRecordsControllerDemo WIP 2016-03-26 17:50:09 +01:00
Gwendal Roué 00e49e76be GRDBFetchedRecordsControllerDemo WIP 2016-03-26 17:49:47 +01:00
Gwendal Roué f6df412350 GRDBFetchedRecordsControllerDemo WIP 2016-03-26 17:03:32 +01:00
Gwendal Roué f952b9bbcb GRDBFetchedRecordsControllerDemo WIP 2016-03-26 16:52:08 +01:00
Gwendal Roué 9160021442 New GRDBFetchedRecordsControllerDemo app 2016-03-26 16:28:40 +01:00
Gwendal Roué 859e71d976 FetchedRecordsController documentation 2016-03-26 08:23:09 +01:00
Gwendal Roué b13ad57ea5 FetchedRecordsController: Back to delegate pattern 2016-03-24 13:35:11 +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é fb448e27ad FetchedRecordsController: Still some tableView crashes 2016-03-23 13:50:21 +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é 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é c46663007b Merge branch 'master' into FetchedRecordsController
Conflicts:
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/MasterViewController.swift
2016-03-23 08:22:55 +01:00
Gwendal Roué e98685b6cc Modernize GRDBDemoiOS 2016-03-23 08:07:28 +01:00
Gwendal Roué 30f288a6b9 FetchedRecordsController: update for Swift 2.2 2016-03-22 21:34:47 +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é 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é 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é 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é 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é 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é dc2ee92404 Up to date GRDBDemoiOS demo of FetchedResultsController 2016-03-15 19:13:27 +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é 01f1043e1a Fix project organization 2016-03-13 14:39:13 +01:00
Gwendal Roué e3ef424a41 DatabaseReader and DatabaseWriter cleanup 2016-03-12 12:00:06 +01:00
Gwendal Roué 1fcc8c764f Custom SQL functions are collations are now added to database queues and pools. 2016-03-10 13:50:47 +01:00
Gwendal Roué 4ff679af11 Memory management documentation 2016-03-10 10:55:23 +01:00
Gwendal Roué 06e2f3e5f8 Update GRDBDemoiOS7 demo app 2016-03-10 06:11:20 +01:00
Gwendal Roué cfb19d4ad7 Fix GRDBDemoiOS7 app 2016-02-11 08:34:34 +01:00
Gwendal Roué 10ac19db72 GRDBDemoiOS README 2016-02-10 08:53:24 +01:00
Pascal Edmond 0808a10b03 merge 2016-02-09 17:44:33 +01:00
Gwendal Roué 25935e0323 Minor 2016-02-04 09:14:46 +01:00
Pascal Edmond 3ec52fa83d Use FetchedResultController with brand new FetchRequest 2016-01-29 16:08:41 +01:00
Pascal Edmond 46e44131d3 Add visible and position's columns to be used in FetchRequest 2016-01-29 16:05:06 +01:00
Pascal Edmond 2c7334b1c1 Change<T> become ResultChange<T> + Prepare for FetchRequest 2016-01-29 15:55:09 +01:00
Pascal Edmond 85e578f5ae Disable manual ordering for now 2016-01-29 12:12:07 +01:00
Pascal Edmond 042163eb58 Merge branch 'master' of https://github.com/groue/GRDB.swift into FetchedRecordsController
Conflicts:
	DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj/project.pbxproj
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/AppDelegate.swift
	DemoApps/GRDBDemoiOS/GRDBDemoiOS/MasterViewController.swift
	GRDB.xcodeproj/project.pbxproj
	Tests/Performance/fmdb
2016-01-29 11:49:57 +01:00
Pascal Edmond 07afc8a130 WIP 2016-01-29 11:30:09 +01:00
Pascal Edmond 9c7e13fc64 WIP 2016-01-29 11:13:00 +01:00