I'm trying to create a 3D model viewer, i've gone through a few tutorials for OpenGL and Metal to create 3D models and do some basic rotations with the pan gesture etc. This example from www.raywenderlich.com, a Sample Project Git(error free), the one on the web(original code) has some errors with Xcode 7.1.1. I want to load STL files to display on the device instead of the Cube. I've searched a lot, but can't find tutorials for loading STL files to project 3d object onto the view (Metal / Swift).
Any help would be great. I'm using swift 2 with xCode 7.1.1