the sceneKit boilerplate project ( the spinning ship ) with L/R scenes and head tracking for use with google cardboard.
Uses CoreMotion for the head tracking and sets the angle on a shared camera node.
If you prefer swift, this project is very similar: https://github.com/stevenjs/VR-iOS-Experiment