-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
  • 10,132
  • 8
  • 50
  • 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
  • 64,370
  • 15
  • 118
  • 145