-
Notifications
You must be signed in to change notification settings - Fork 93
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
Question: SwiftUI Compatibility #51
Comments
This should work for you
Add this into it's own file, and you can use it in SwiftUI with SignatureView() To use various functions, add binding bool variables here, and in updateUIView you can check if they are true, then toggle them back to false. |
Can you do some examples of how to use functions because I'm getting errors |
struct SignatureView: UIViewRepresentable {
} |
Here is a working example that support undo, redo, and clear.
I would like to submit this as a PR but I'm having trouble with the Pods and getting it into the project. |
Hello there!
How can I use this framework in SwiftUI?
The text was updated successfully, but these errors were encountered: