title: Xcode Error: Value of type 'int' has no member 'Type' / but what member should I use in that situation?
body: <p>what member should I use in that situation?</p>
  
  <pre><code>let alertController = NSAlert(title: nil, message: "Place Not Found", preferredStyle: NSAlertFirstButtonReturn.Type)
  </code></pre>
  
  <p>the whole block:</p>
  
  <pre><code>if localSearchResponse == nil{
                      let alertController = NSAlert(title: nil, message: "Place Not Found", preferredStyle: NSAlertFirstButtonReturn.Type)
                      alertController.addAction(NSAlertDelegate(title: "Dismiss", style: NSAlertStyle.Default, handler: nil))
                      self.presentViewController(alertController, animated: true, completion: nil)
                      return
  </code></pre>