Cannot Archive Array of Values Representing CGPoints

I have converted CGPoint To NSValue and put all the resulting values in q NSArray but when I use [NSKeyedArchiver archiveRootObject:ArrayName toFile:PointArrayFile]; it gives me error.

So what's the problem?


You don't say what problem you're seeing but in general you're probably better off using NSStringFromCGPoint and CFPointFromString to store and retrieve the points.

Need Your Help

Read Firefox bookmarks using C#

c# firefox bookmarks favorites

Using C#, I need to get all Firefox bookmarks for importing them into our database. How can I do this?

Changing a Swing control dynamically

java swing updates swingx jxtreetable

I have a Java Swing dialog that utilizes JXTreeTable. I need to be able to add content to the JXTreeTable periodically (say, once a minute). How do I access that JXTreeTable from another class?