Re: Cocoa Open GL help
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
___________________________________________________________