Good Luck A simple test program for 2D OpenGL Roughly translated to Swift from this Objective-C tutorial.