I am writing a Cocoa application where I have an automatically generated application delegate: (MyAppDelegate.h / MyAppDelegate.m)
So, I'm not sure of the best way to structure class files for this Cocoa application. I understand MVC (on iPhone) well, but I have a block to try to properly organize the source in a Cocoa application.
I need to create two separate full-screen OpenGL views. The problem is that I can just create classes for "OpenGLView" and then instantiate and call all this code in the application delegate, but it seems messy and essentially not the place for it. What is the best way for me to achieve code structure?
source share