Sorix / CloudCore

Framework that enables syncing between iCloud (CloudKit) and Core Data
MIT License
153 stars 40 forks source link

How to sync transformable type ? #32

Closed parth1009 closed 6 years ago

parth1009 commented 6 years ago

Hello.

I have one transformable type of attribute in my core data table for UIImage. Is it possible to sync transformable type ?

Thanks

Scytalion commented 6 years ago

Hi parth1009, if you save your image as "Binary Data" sync should work right away. If you need to save it as a transformable: I have created a pull request for support of transformable (NSCoding) attributes.

parth1009 commented 6 years ago

Thanks Scytalion. It is working fine with "Binary Data". One more question is there. How do I remove that synced data from iCloud ?

Sorix commented 6 years ago

How do I remove that synced data from iCloud ?

I'm working on it, I will add that method soon. Also I have to add that method because of new EU policy. Anyway it is feature request, so I'm closing that ticket for now, thank you for idea.

parth1009 commented 6 years ago

Okay. Thanks for your support man. You can close the previous one.