How would I store a CGAffineTransform in NSUserDefaults?
Since it contains 6 float values it takes a lot of repetitive work to store each value as float… so I’m wondering if there is a smarter way.
How would I store a CGAffineTransform in NSUserDefaults? Since it contains 6 float values
Share
Use NSStringFromCGAffineTransform() and CGAffineTransformFromString().
Using NSValue, I got: