-
Notifications
You must be signed in to change notification settings - Fork 137
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
How to use it in SwiftUI #93
Comments
I will try to add SwiftUI support soon! Any help would be appreciated. |
@efremidze can you give any update of that issue? |
Easiest integration would be to wrap it into a SwiftUI view |
Updated MagneticView_SwiftUI to support UIViewRepresentable |
do you have an example on how to use it with Swiftui? |
It should be pretty straightforward. You can learn more about interoperability by watching this: |
I'm new to Swift and SwiftUI but did try using UIViewRepresentable but not getting anywhere. Any support helps :)
P.S. Sorry to use issue to ask a question
The text was updated successfully, but these errors were encountered: