Cocoa, OpenGL & CoreData
Cocoa, OpenGL & CoreData
- Subject: Cocoa, OpenGL & CoreData
- From: goessly <email@hidden>
- Date: Mon, 15 Aug 2005 09:01:30 +0200
Hi all & greetings from a newbie!
After days of trial-and-error trying to merge the Developer Tools
example "OutlineEdit" and the "Cocoa OpenGL"-example from Apple's
site [1], I've decided to ask for help, being a bloody amateur and
new to Cocoa / ObjC and all ;)
What I'd like to do is create a document-based Cocoa-App, which
manages data entered by the user via NSTreeController with an Outline-
View containing the text-entries (just like OutlineEdit) and an
OpenGL-View showing 3d-representations of those entries. For example:
In the outline we enter:
• box
- sphere
- cube
And openGL draws a box, containing a sphere and a cube.
I incorporated the BasicOpenGLView from that Cocoa OpenGL example I
mentioned into the Outline Edit's nib-file and added the belonging
classes to the project. They both work fine, but completely seperate.
And I am totally stuck trying to connect them.
So how do I connect the openGLView to the NSTreeController the same
way the Outline-View is connected to it? So that both views can draw
on the same data?
Any help appreciated & thx in advance:
goessly
[1] http://developer.apple.com/samplecode/Cocoa_OpenGL/Cocoa_OpenGL.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden