Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Swift 使用2个容器_Swift_Core Data_Nspersistentstore_Nspersistentcontainer - Fatal编程技术网

Swift 使用2个容器

Swift 使用2个容器,swift,core-data,nspersistentstore,nspersistentcontainer,Swift,Core Data,Nspersistentstore,Nspersistentcontainer,是否可以将多个NSPersistentContainer连接到项目中的同一个存储区。我正在将使用2个NSPersistentStoreCoordinator的现有实现更改为使用NSPersistentContainer

是否可以将多个NSPersistentContainer连接到项目中的同一个存储区。我正在将使用2个NSPersistentStoreCoordinator的现有实现更改为使用NSPersistentContainer