I was trying to create custom NSView (not nsopenglview) class for opengl. I have read apple doc and nothing. Can you give source code becouse i can find only nsopenglview classes.
NSView for Opengl
Have you looked here:
under the heading "Drawing OpenGL Content to a Custom View"?
A 4 yr. old Apple sample is here: https://developer.apple.com/library/content/samplecode/BasicMultiGPUSample/Listings/MyOpenGLView_m.html
• Abstract: An NSView subclass (not an NSOpenGLView).