Friday, January 28, 2011

iPhone dev Stupidity 140: encode CGRect into NSUserDefaults

from stackoverflow:
There exists a pair of functions NSStringFromCGPoint and CGPointFromString. You can use these to produce an array of strings representing the points for serialization, and then convert back when you're finished.

No comments: