encrypted-core-data-sql

Transformable attribute in Core Data not export/sync with iCloud

不打扰是莪最后的温柔 提交于 2020-05-09 07:08:04
问题 I am using NSPersistentCloudKitContainer . All data sync in iCloud. And when uninstalled the app, its sync correctly. However, it's required to encrypt sensitive data. I made my password attribute Transformable. Thus work fine locally. However when I delete the app. Install again. All other attributes(String, Int) sync correctly but transformable attribute does not export/synced. Here is my Model public class EmployeeEntity: NSManagedObject { @NSManaged public var password: NSObject?

Transformable attribute in Core Data not export/sync with iCloud

心已入冬 提交于 2020-05-09 07:07:44
问题 I am using NSPersistentCloudKitContainer . All data sync in iCloud. And when uninstalled the app, its sync correctly. However, it's required to encrypt sensitive data. I made my password attribute Transformable. Thus work fine locally. However when I delete the app. Install again. All other attributes(String, Int) sync correctly but transformable attribute does not export/synced. Here is my Model public class EmployeeEntity: NSManagedObject { @NSManaged public var password: NSObject?

Transformable attribute in Core Data not export/sync with iCloud

安稳与你 提交于 2020-05-09 07:06:12
问题 I am using NSPersistentCloudKitContainer . All data sync in iCloud. And when uninstalled the app, its sync correctly. However, it's required to encrypt sensitive data. I made my password attribute Transformable. Thus work fine locally. However when I delete the app. Install again. All other attributes(String, Int) sync correctly but transformable attribute does not export/synced. Here is my Model public class EmployeeEntity: NSManagedObject { @NSManaged public var password: NSObject?

How to encrypt using EncryptedCoreData with swift?

自闭症网瘾萝莉.ら 提交于 2020-01-04 14:05:40
问题 I've been having some trouble figuring out how to encrypt my sqlite database. I'm using core data and this following project: https://cocoapods.org/?q=EncryptedCoreData What I can't figure out is how I am suppose to use this project to encrypt my database. I've already install the project and I can import the library EncryptedCoreData. However I don't find any information regarding a pratical example with swift. In my appdelegate I have the following code import UIKit //import CoreData /