Replies: 1 comment
-
Ensure your updaterController and your updater delegate are kept alive by your app. Looking at your code, it is clear you are not ensuring the latter. It's standard practice for delegates to be weakly referenced. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m trying add a delegate to a SwiftUI updater controller for monitoring what process that updater is. But after I attached it, it did not work correctly, it cannot call the protocol normally (nothing happened after the process that should call method). Idk why it like this, I think my code is absolutely correct.
This is my code:
Beta Was this translation helpful? Give feedback.
All reactions