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!
However, this is not possible for CGPathRef, and I am unsure how to extract its contents into an encodable and decodable format. Please help!