Yeah, I am not getting how Firebase should replace CoreData/SwiftData/SharingGRDB here, given those are local databases and Firebase is a remote database system.
With Core Data the file on disk is referenced as NSPersistentStore in Swift. The NSPersistentStrore class has a subclass called NSIncrementalStore, which is meant for subclassing. Whether you make calls to a file on disk or to a remote system using URLSession doesn't matter.
Oh so that’s where we don’t agreee, because the difference between writing to disk and sending requests to a remote service is quite important in my opinion.
When you're working with an NSManagedObjectContext and execute a query the implementation of that query is abstracted away. The only point where it matters where the call is going is in the code of the NSPersistentStore class or subclass.
Comments
When you're working with an NSManagedObjectContext and execute a query the implementation of that query is abstracted away. The only point where it matters where the call is going is in the code of the NSPersistentStore class or subclass.