• 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
UIColor in CoreData database into NSColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: UIColor in CoreData database into NSColor
      • From: Alex Zavatone <email@hidden>
    • Re: UIColor in CoreData database into NSColor
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: -beginSheet:modalForWindow:modalDelegate:didEndSelector
  • Next by Date: Re: -beginSheet:modalForWindow:modalDelegate:didEndSelector
  • Previous by thread: Re: -beginSheet:modalForWindow:modalDelegate:didEndSelector
  • Next by thread: Re: UIColor in CoreData database into NSColor
  • Index(es):
    • Date
    • Thread