• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UIColor in CoreData database into NSColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIColor in CoreData database into NSColor


  • Subject: Re: UIColor in CoreData database into NSColor
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 20 Feb 2015 16:53:09 -0500

Would it be correct to not care about UIColor or NSColor, encode the data to be stored in 64 bit NSData, store that and when accessed, decode it?

Sent from my iPad. Please pardon typos.

On Feb 20, 2015, at 2:15 PM, Alex Kac <email@hidden> wrote:

> 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

_______________________________________________

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


  • Follow-Ups:
    • Re: UIColor in CoreData database into NSColor
      • From: Georg Seifert <email@hidden>
References: 
 >UIColor in CoreData database into NSColor (From: Alex Kac <email@hidden>)

  • Prev by Date: Re: UIColor in CoreData database into NSColor
  • Next by Date: Re: UIColor in CoreData database into NSColor
  • Previous by thread: Re: UIColor in CoreData database into NSColor
  • Next by thread: Re: UIColor in CoreData database into NSColor
  • Index(es):
    • Date
    • Thread