title: Can't see Swift variable/method in Objective C
body: <p>I am unable to see the method/variable to set <code>myVar</code> to <code>true</code> from Objective C even tough I've added the <code>@objc</code> and <code>public</code> modifiers and there is no <code>Bool</code> in the <code>setMyVarTrue()</code> method's signature.</p>
  
  <p>This is probably caused by the difference between Swift's <code>Bool</code> and Objective C's <code>BOOL</code>.</p>
  
  <p>Other class methods/variables are visible, just this particular one isn’t.</p>
  
  <p>How is is possible to set Swift's <code>Bool</code> from Objective C?</p>
  
  <p>Swift code:</p>
  
  <pre><code>public class MyViewController : UIViewController {
      public var myVar:Bool = false
  
      @objc public func setMyVarTrue() {
          self.myVar = true
      }
  }
  </code></pre>
  
  <p>Objective C code:</p>
  
  <pre><code>MyViewController* myViewController = [MyViewController new];
  myViewController.myVar = true // Variable not found
  myViewController.setMyVarTrue() // Method not found
  [self presentViewController:myViewController animated:NO completion:nil];
  </code></pre>