NSPersistentDocument, Core Data & Cryptation
NSPersistentDocument, Core Data & Cryptation
- Subject: NSPersistentDocument, Core Data & Cryptation
- From: Stefano Furiosi <email@hidden>
- Date: Fri, 17 Jun 2005 12:54:47 +0200
Hello all,
this is my frist post here.
I have an NSDcoument based application (for now coded with cocoa &
binding) that need to do the following 3 things:
1) Compress (zip) the file or data before save it.
2) Crypt the data before save it, and store a public key in the
document data.
3) Save in the documet global information like window frame
size, some flags, public key etc. etc.
I havn't found a way to do that with core data architecture right
now. The questions are:
There is a way to hook the saved data and compress it in the core
data flow? I use to do this in loadDataRepresentation and
dataRepresentationOfType in my actual app.
There is a way to save single flags and other information not related
to the other data in the documet? Considering the fact that this data
need to be updated without raise an undo/redo, thigs that happen if I
use a single ManagedObject.
Anyone have some clue about this? I don't need an example code, just
a way to follow.
Sorry for my bad english,
thanks in advance,
Stefano.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden