forked from acerbetti/ACEDrawingView
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Saving and loading basic functionality now works! Focussing on the …
…slicing now :)
- Loading branch information
1 parent
381c3b4
commit 105c363
Showing
14 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+823 Bytes
(100%)
...proj/project.xcworkspace/xcuserdata/Sebastiaan.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
ACEDrawingViewDemo.xcodeproj/xcshareddata/xcschemes/ACEDrawingViewDemo.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ACEDrawingViewDemo.xcodeproj/xcshareddata/xcschemes/ACEDrawingViewDemoTests.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-22.3 KB
(58%)
...wingViewDemo.xcworkspace/xcuserdata/Sebastiaan.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...proj/xcuserdata/Sebastiaan.xcuserdatad/xcschemes/ACEDrawingView-ACEDraggableText.xcscheme
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Pods/Pods.xcodeproj/xcuserdata/Sebastiaan.xcuserdatad/xcschemes/ACEDrawingView.xcscheme
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ds.xcodeproj/xcuserdata/Sebastiaan.xcuserdatad/xcschemes/Pods-ACEDrawingViewDemo.xcscheme
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...odeproj/xcuserdata/Sebastiaan.xcuserdatad/xcschemes/Pods-ACEDrawingViewDemoTests.xcscheme
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
105c363
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Tripwire999 ,
I've spent half the day looking at your commits, figuring how to save the drawings.
As per this post, you managed to do save and load the draw paths, but I couldn't do it.
There's a method you added to AceDrawingTools.h,
+- (NSData *)savePenToolData;
, is this the method that saves the pathArray?I'm using swift in my project, and have a linker to this framework.
Here's how my view works:
A viewcontroller (viewA), with a uiview(drawingView) casted to AceDrawingView.
viewA has the delegates set up and everything. I'm able to draw, highlight etc.
What I want now is to have a uibutton to save the "drawings", so when the user come back to viewA, it'll auto load the saved "drawings".
Can you lend me a hand on this?
Thank you for your time.