• 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: Cocoa Open GL help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Open GL help


  • Subject: Re: Cocoa Open GL help
  • From: Brian Hill <email@hidden>
  • Date: Tue, 11 Sep 2001 14:01:32 -0500

On Tuesday, September 11, 2001, at 01:43 PM, Raphael Sebbe wrote:

It seems to me it is exactly how it is intended to be used from the previous posts : a custom (I mean user defined) NSView subclass (NSOpenGLView subclass, in fact) inside a window, but I admit my answer was perhaps too much general/incorrect...

To better clarify this, does it mean that views that stand on their own (not in a window) in the nib file do not receive -initWithFrame: ? Are there other situations in which initWithFrame: would not be invoked on user-defined NSView subclasses ?

Isn't initWithCoder: the initializer for objects in a nib? (NSView gets it from NSResponder).
Probably best to use awakeFromNib, though.


Brian


email@hidden http://personalpages.tds.net/~brian_hill
___________________________________________________________
"Why? I came into this game for adventure - go anywhere, travel
light, get in, get out, wherever there's trouble, a man alone.
Now they've got the whole country sectioned off and you can't
move without a form. I'm the last of a breed."
-- Archibald "Harry" Tuttle, Rogue HVAC Repairman
___________________________________________________________


References: 
 >Re: Cocoa Open GL help (From: Raphael Sebbe <email@hidden>)

  • Prev by Date: Re: Cocoa Open GL help
  • Next by Date: Re: FIFOs.
  • Previous by thread: Re: Cocoa Open GL help
  • Next by thread: Re: Cocoa Open GL help
  • Index(es):
    • Date
    • Thread