Use Cocoa with a CVDisplayLink to drive the rendering and use AGL as OpenGL binding. There is an example OpenGL app as an XCode project that shows how to properly use OpenGL with Cocoa.
Use Cocoa with a CVDisplayLink to drive the rendering and use AGL as OpenGL binding. There is an example OpenGL app as an XCode project that shows how to properly use OpenGL with Cocoa.