Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jmcfadden

macrumors newbie
Original poster
Aug 24, 2008
1
0
I am implementing NSCoding in my classes in order to allow for archiving and unarchiving of game state. For most Quartz objects (i.e. CGColor) I am simply converting the objects to their NS counterpart (i.e. UIColor) before encoding.

However, this is not possible for CGPathRef, and I am unsure how to extract its contents into an encodable and decodable format. Please help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.