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 didShake function run in UI threand #13

Merged
merged 1 commit into from
May 16, 2023

Conversation

makhocheung
Copy link
Contributor

No description provided.

@ezefranca
Copy link
Owner

Thank you @makhocheung

@ezefranca ezefranca merged commit 8b78e9a into ezefranca:main May 16, 2023
1 check failed
@makhocheung
Copy link
Contributor Author

makhocheung commented May 16, 2023

I forgot an another problem. I issue it here.
WatchShaker is not an ObservableObject currently, so I need extend it like this in my SwiftUI project to use shake publisher.

extension WatchShaker: ObservableObject {
    
}

I think it is better that WatchShaker can implement ObservableObject protocol. But this is not a big problem.

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

Successfully merging this pull request may close these issues.

None yet

2 participants