title: How to bridge SceneKit in react native?
body: <p>I start learning react native component creation.
  I have a little SceneKit project which show a single plan in a 3d view (I started from <a href="http://www.raywenderlich.com/83748/beginning-scene-kit-tutorial" rel="nofollow">this tutorial</a>).</p>
  
  <p>My goal is to bridge this view to get control over the 3D native camera with Javascript.</p>
  
  <p>I don't know where to start. All resources on the web about creating a component is far away my scope, use external lib or are not detailed enough for a newbie like me.</p>
  
  <p>My scenekit project has tree files:</p>
  
  <ul>
  <li>a main.storyboard (but is is compabible with a react native component ?) with a single SceneKit view</li>
  <li>a ControllerView</li>
  <li>and an AppDelegate</li>
  </ul>
  
  <p><strong>App Delegate:</strong></p>
  
  <pre><code>import UIKit
  
  @UIApplicationMain
  class AppDelegate: UIResponder, UIApplicationDelegate {
    var window: UIWindow?
  
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -&gt; Bool {
      return true
    }
  }
  </code></pre>
  
  <p><strong>View Controller</strong></p>
  
  <pre><code>import UIKit
  import SceneKit
  
  class ViewController: UIViewController {
  
  // UI
  @IBOutlet weak
  var sceneView: SCNView!
  
      // MARK: Lifecycle
      override func viewDidLoad() {
          super.viewDidLoad()
          sceneSetup()
      }
  
  func sceneSetup() {
      let scene = SCNScene()
  
      let lightNode = SCNNode()
      lightNode.light = SCNLight()
      lightNode.light!.type = SCNLightTypeAmbient
      lightNode.light!.color = UIColor(white: 0.5, alpha: 1)
      scene.rootNode.addChildNode(lightNode)
  
      let plan = SCNPlane(width: 20, height: 40)
      plan.firstMaterial!.diffuse.contents = UIColor.whiteColor()
      let planNode = SCNNode(geometry: plan)
      planNode.transform = SCNMatrix4MakeRotation(-90, 1, 0, 0)
      scene.rootNode.addChildNode(planNode)
  
      let cameraNode = SCNNode()
      cameraNode.camera = SCNCamera()
      cameraNode.position = SCNVector3(0, 0, 50)
      scene.rootNode.addChildNode(cameraNode)
  
      sceneView.scene = scene
      sceneView.allowsCameraControl = true
  }
  
  override func viewDidAppear(animated: Bool) {
      super.viewDidAppear(animated)
  }
  
  // MARK: IBActions
  @IBAction func segmentValueChanged(sender: UISegmentedControl) {
  
  }
  
  // MARK: Style
  override func preferredStatusBarStyle() - &gt; UIStatusBarStyle {
      return UIStatusBarStyle.LightContent
  }
  
  // MARK: Transition
  override func viewWillTransitionToSize(size: CGSize, withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
      super.viewWillTransitionToSize(size, withTransitionCoordinator: coordinator)
      sceneView.stop(nil)
      sceneView.play(nil)
  }
  
  }
  </code></pre>
  
  <p>First of all. Is this bridgable to RN?</p>