UIColor in CoreData database into NSColor
UIColor in CoreData database into NSColor
- Subject: UIColor in CoreData database into NSColor
- From: Alex Kac <email@hidden>
- Date: Fri, 20 Feb 2015 12:15:08 -0700
We have a CoreData database on iOS that we want our users to be able to restore in our OS X app from backups. It uses UIColor while our desktop app uses NSColor for now. The correct method for us is to save our color info in a non-platform specific way…but people have database backups where its going to stay a UIColor - its a backup and we can’t go and change those.
So with that in mind, has anyone tackled a conversion process of reading in UIColor data into NSColor via CoreData?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden