<div dir="ltr"><div>If you tried using OpenGL with something other than Apple&#39;s framework then you probably didn&#39;t get very far. The header files of GLEW and Epoxy aren&#39;t fully understood by Swift. So I wrote some Swift code that generates some Swift code using the XML file from Khronos. Now everything you usually get from the headers is Swift code.<br></div><div><br></div><div><a href="https://github.com/AE9RB/SwiftGL">https://github.com/AE9RB/SwiftGL</a></div><div><br></div><div>The Demo folder contains an OpenGL equivalent of hello world. This is also a good example to look at if you want to learn more about C bindings.</div><div><br></div><div><a href="https://github.com/AE9RB/SwiftGL/tree/master/Demo">https://github.com/AE9RB/SwiftGL/tree/master/Demo</a></div><div><br></div><div>-david</div></div>