title: No Method declared with Objective-C Selector for Notification UIKeyboardWillShowNotification and UIKeyboardWillHideNotification
body: <p>After the recent update of Xcode, this code that used to work no longer works. Most of the Selector(":") has an auto correction with the exception for this code:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      NSNotificationCenter.defaultCenter().addObserver(self, selector: Selector("keyboardWillShow:"), name:UIKeyboardWillShowNotification, object: nil);
      NSNotificationCenter.defaultCenter().addObserver(self, selector: Selector("keyboardWillHide:"), name:UIKeyboardWillHideNotification, object: nil);
  }
  </code></pre>
  
  <p>which flags an error: </p>
  
  <blockquote>
    <p>No method declared with Objective C selector 'keyboardWillSHow:'</p>
  </blockquote>
  
  <p>This image show different attempts which have all failed.</p>
  
  <p><a href="https://i.stack.imgur.com/gfiom.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gfiom.png" alt="enter image description here"></a></p>
  
  <p>What is the new syntax for this code? </p>