Vectors is the name of the project. Using breakpoints, I have verified that Renderer is invoked once to set up the MTKView. The draw method is called repeatedly and doesn't instantiate Renderer.
Since dodraw() behaves differently depending upon where it is called from, I wonder whether calling it using the graphRef instance as a reference to it might be the problem - could the instance not respect the @IBOutlet created in GameViewController? That would be odd, but maybe I needed an init?
Topic:
Programming Languages
SubTopic:
Swift
Tags: