Re: Cocoa Open GL help
Re: Cocoa Open GL help
- Subject: Re: Cocoa Open GL help
- From: "Erik M. Buck" <email@hidden>
- Date: Thu, 13 Sep 2001 20:12:34 -0500
RTFM the Object Oriented programming and Objective-C which came with your
developer tools. Pay attention to the concept of a designated initializer.
See the following search results:
http://www.google.com/search?as_q=designated+initializer+apple+developer&num
=100&btnG=Google+Search&as_epq=&as_oq=&as_eq=&lr=&as_qdr=all&as_occt=any&as_
dt=i&as_sitesearch=&safe=off
Read the NSView class documentation where it mentions initializers.
initWithFrame:
- (id)initWithFrame:(NSRect)frameRect
Initializes a newly allocated NSView with frameRect as its frame rectangle.
The new view object must be inserted into the view hierarchy of an NSWindow
before it can be used. _____This method is the designated initializer____
for the NSView class. Returns self.
[Underline added by me]
----- Original Message -----