iphone - Create UIColor from NSColor Data -


I have a CoreData Mac app for which I am writing an iOS front end I am all working well, I am able to successfully read files created with the Mac App in the iOS version. I am struggling with the encoding of the NSCta object (being stored as a NSDTA object in my data model).

In short: Change the NSDTO object to an appropriate NSColor object and an appropriate UIColor object on an iOS device?

What I have done so far (and it works, but not very good) To read is NSDTing in an NSTING (data seems ASCII encoded). RGB values ​​are present in NSSTing and a small parsing can be drawn to create a new UICLore.

I'm not sure whether this is a global solution or there is no one who works in my case, but this is a beginning.

It would be better to sort it out as an NSArray and I look into it for the future.


Comments