Hey, Apple team, any updates on that topic?
Why does NSBatchInsertRequest do not provide any API for getting an internal context that is used for NSManagedObject creation:
https://developer.apple.com/documentation/coredata/nsbatchinsertrequest/3618791-init
It would be nice to have an access to NSManagedObject context here:
managedObjectHandler handler: @escaping (NSManagedObject, NSManagedObjectContext) -> Bool
So we could make add a relationship models just in place, without struggling with a workaround solutions.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: