Has anyone used encryption on their Co开发者_运维百科re Data SQLite stores? And how did you implement it?
I'm pretty sure the only way to use encryption in Core Data is to either encrypt the entire persistent store file when the app quits or to use custom accessors in managed object subclasses to encrypt and decrypt data as they are individually saved to the persistent store.
I'm beginning including this wonderful project:
https://github.com/project-imas/encrypted-core-data
On my code, all things goes well. I have a strange problem only using NSPredicate to create a search query in related fields.
精彩评论