So i was reading the following tutorial at :
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#//apple_ref/doc/uid/TP40001987-CH404-SW8
which basically shows you how to set up a simple OpenGL view in a windowed environment. It tells you to create a class called MyOpenGLView which contains a drawRect() method. However in the tutorial when it asks you to add the NSOpenGLView item from Interface builder to your window, it specifies to select the MyOpenGLView class file under the "identity" tab within Inspector. But its not showing up, even after reading the class file into Interface builder.
Any help would be appreciated.
**Figured out the issue, I wasn't inheriting the NSOpenGLView class in my subclass context.
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_drawing/opengl_drawing.html#//apple_ref/doc/uid/TP40001987-CH404-SW8
which basically shows you how to set up a simple OpenGL view in a windowed environment. It tells you to create a class called MyOpenGLView which contains a drawRect() method. However in the tutorial when it asks you to add the NSOpenGLView item from Interface builder to your window, it specifies to select the MyOpenGLView class file under the "identity" tab within Inspector. But its not showing up, even after reading the class file into Interface builder.
Any help would be appreciated.
**Figured out the issue, I wasn't inheriting the NSOpenGLView class in my subclass context.