• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa, OpenGL & CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [Cocoadev] Problem becoming a good citizen and backwards compatible
  • Next by Date: Re: [Cocoadev] Problem becoming a good citizen and backwards compatible
  • Previous by thread: Re: Core Data: slow saves to persistent store
  • Next by thread: NSButtonCell columns in NSOutlineView
  • Index(es):
    • Date
    • Thread