Does the following remove all NSNotificationCenter.defaultCenter there were added by name a view?
NotificationCenter.default.removeObserver(self)
If I have the following in the same view of viewDidLoad(), will they be removed with the single line above?
NotificationCenter.default.addObserver(self, selector: Selector(("method1")), name: UITextField.textDidChangeNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: Selector(("method2")), name: UITextView.textDidChangeNotification, object: nil)