> Hi, I'm fairly new to Cocoa programming; have been doing a few of the
> tutorials in Hillegass' book. I've spent some time with OGL though,
> so right now I'm trying to do a simple port of an app written a while
> back in glut using glui as a simple GUI interface. This question may
> have more to do with simple objective-c than with cocoa, but here
> Here's my situation:
> I've managed to get multiple windows with subclasses of NSOpenGLView
> up and running and rendering simple polygons. I also have simple
> message passing thanks to IB; i.e. clicking an NSButton shows or hides
> a polygon. My problem is, thanks to Interface Builder, I can't seem
> to access either of the actual NSOpenGLView-subclasses as pointers.
> What I would ultimately like to do is be able to pass some information
> from one NSOpenGLView subclass to the other one, without having to go
> through IBOutlets and IActions. Interface Builder seems to hide quite
> a bit of information; i.e. when one creates a window and puts an
> NSOpenGLView inside it, where exactly is the pointer to the
> searches for keywords such as "objective-c message passing", etc.
> didn't quite turn up what I was looking for, so if anyone has
> pointers, comments, or hints I would be much appreciative.