Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CGMutablePathRef publicly available #55

Open
To1ne opened this issue Jun 27, 2016 · 1 comment
Open

Make CGMutablePathRef publicly available #55

To1ne opened this issue Jun 27, 2016 · 1 comment

Comments

@To1ne
Copy link

To1ne commented Jun 27, 2016

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.

@acerbetti
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants