title: Swift method with a swift enum as parameter is not visible in Objective C
body: <p>I have a swift Class with an enum and a method which expects a parameter of with type of the enum:</p>
  
  <pre><code>import SpriteKit
  
  enum Direction: Int {
      case up = 1;
      case down = -1;
  }
  
  class ParallaxScrollingNode: SKNode {
  
      func addStaticBackground(name: String) {
          ...
      }
  
      func addParallaxBackground(imageNames: [String], yScaleFactor: CGFloat, yDirection: Direction) {
          ...
      }
  </code></pre>
  
  <p>In my Objective C class it is possible to call the first, but not the second method:</p>
  
  <p><a href="https://i.stack.imgur.com/XNKx5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XNKx5.png" alt="enter image description here"></a></p>
  
  <p>Looks like the enum is causing the issue. The method is missile, if I change the type to Int. Of course I can do this with my code, but I want to understand if this is not working in general or if I have missed something.</p>
  
  <p>Thanks<br>
  Stefan</p>