We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
NotificationCenter integration?
The text was updated successfully, but these errors were encountered:
Hi @Droppix, are you aware that NotificationCenter has a built-in API based on closures? If so, can you help me understand how Closures can help? Thanks!
Sorry, something went wrong.
Sorry for not having been clear... It would have been interesting to make a simplification to the API "Apple", for example :
NotificationCenter.default.add(observer: self, name: "") { _ in} NotificationCenter.default.removeObserver(self) same for Timer : Timer.scheduledTimer(timeInterval: 1.0) {}
NotificationCenter.default.add(observer: self, name: "") { _ in} NotificationCenter.default.removeObserver(self)
Timer.scheduledTimer(timeInterval: 1.0) {}
And above all it will allow me to avoid using more:) [https://github.com/ManueGE/Actions]
Thanks
No branches or pull requests
Hi,
NotificationCenter integration?
The text was updated successfully, but these errors were encountered: