• 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
Re: NSOpenGLView Subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenGLView Subclass


  • Subject: Re: NSOpenGLView Subclass
  • From: Christopher Holland <email@hidden>
  • Date: Mon, 22 Apr 2002 22:56:03 -0500

On Monday, April 22, 2002, at 08:22 PM, Casey O'Donnell wrote:

> I've attempted to subclass from the NSOpenGLView class, and have found
> it a
> little frustrating (though I might just be a dork). I haven't had a
> problem
> creating the class and compiling it.
>
> When (in interface builder) I go to insert an NSOpenGLView, I can't see
> my
> class as an available Custom Class to have that be instead. So
> therefore I
> can't actually test to see if it works.
>
> Any pointers? I've gone through and re-build the "index" that keeps
> track
> of my classes. When I browse it sees that my class is subclassed from
> NSOpenGLView (as I can see the respective method calls and such listed
> there).
>
When you say that you are "browsing" are you speaking of IB or PB? You
should just need to drag your <MyOpenGLView.h> to the NIBs top-level
organization panel so that IB "knows" about your class. Then your class
should show up in the class listing. If you've already done that, then
you may need to make sure that you've subclassed NSOpenGLView (spelling
and all) correctly in the header file for your class.

Give us some more info if this doesn't help.
>

_________________________________
Christopher Holland email@hidden
Concept House http://www.concepthouse.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSOpenGLView Subclass (From: "Casey O'Donnell" <email@hidden>)

  • Prev by Date: Re: GUI update, multi-threaded Cocoa Java app
  • Next by Date: (no subject)
  • Previous by thread: NSOpenGLView Subclass
  • Next by thread: NSOutlineView question
  • Index(es):
    • Date
    • Thread