title: Cannot convert value of type 'NSObject -> () -> PostFeed' to expected argument type 'AnyObject?'
body: <p>I'm adding a <code>UISwitch</code> in the following way: </p>
  
  <pre><code>  let anonSwitch : UISwitch = {
     let mySwitch = UISwitch()
      mySwitch.on = false
      mySwitch.setOn(false, animated: false);
      mySwitch.tintColor = UIColor(red: (69/255.0), green: (209/255.0), blue: (153/255.0), alpha: 1.0)
      mySwitch.addTarget(self, action: #selector(handleAnonSwitch), forControlEvents: .ValueChanged)
  
      return mySwitch
  }()
  </code></pre>
  
  <p>Now I'm getting the following error message on the <code>self</code> keyword in <code>mySwitch.addTarget</code> : </p>
  
  <pre><code> Cannot convert value of type 'NSObject -&gt; () -&gt; PostFeed' to expected argument type 'AnyObject?'
  </code></pre>
  
  <p>I use <code>self</code> in all my other <code>addTarget</code> functions for <code>UIButton</code> and I never encounter this error</p>