• 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
Initialization/Deallocation Methods Not Being Called on an NSOpenGLView-derived Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initialization/Deallocation Methods Not Being Called on an NSOpenGLView-derived Class


  • Subject: Initialization/Deallocation Methods Not Being Called on an NSOpenGLView-derived Class
  • From: Angus Taggart <email@hidden>
  • Date: Thu, 24 Apr 2008 15:57:44 -0700

I have an application with an OpenGL view and I've assigned it to my NSOpenGLView-derived class  in IB.  While the -drawRect instance function does get called in my derived class (as well as a couple of IBAction methods), neither of the following functions get called:

- (id)initWithFrame:(NSRect)frameRect pixelFormat:(NSOpenGLPixelFormat *)format;
- (void)dealloc;

How do I go about overriding these functions?

Thanks,
Angus
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Initialization/Deallocation Methods Not Being Called on an NSOpenGLView-derived Class
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: newbie IB question
  • Next by Date: Re: File has been changed by another application
  • Previous by thread: Re: On open handler in conflict with on launched?
  • Next by thread: Re: Initialization/Deallocation Methods Not Being Called on an NSOpenGLView-derived Class
  • Index(es):
    • Date
    • Thread