ACEDrawingView icon indicating copy to clipboard operation
ACEDrawingView copied to clipboard

Make CGMutablePathRef publicly available

Open To1ne opened this issue 9 years ago • 1 comments

It would be nice if you could access the CGMutablePathRef of the ACEDrawingPenTool from the outside (e.g. to store it in a database).

I suggest overriding the CGPath accessor defined by UIBezierPath to do this. This should make things easy, because UIBezierPath conforms to NSCoding, so everything should work out-of-the-box.

I'll see if I find some time to format a PR to accomplish this.

To1ne avatar Jun 27 '16 06:06 To1ne

I you have time, i would recommend to use the NSCoding protocol. See my comment to #65

acerbetti avatar Oct 08 '16 15:10 acerbetti