-1

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?

Justin Boo
  • 9,954
  • 7
  • 48
  • 71

1 Answers1

1

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.

TechZen
  • 63,819
  • 15
  • 116
  • 144