We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee367c5 commit 712ba86Copy full SHA for 712ba86
README.md
@@ -4,8 +4,8 @@
4
class ViewController: UIViewController {
5
6
@IBAction func didTapOnButton(_ sender: Any) {
7
- Notify.showSuccsess(title: "Hello Bro\nHow are you!?") {
8
- self.view.backgroundColor = .systemPink
+ Notify.showSuccsess(title: "Hello Bro\nHow are you!?") {[weak self] in
+ self?.view.backgroundColor = .systemPink
9
}
10
11
0 commit comments