• 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: "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 -----

References: 
 >Re: Cocoa Open GL help (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: Re: Constrained Window Resizing
  • Next by Date: Re: Mac OS X 10.1 File Name Extension Guidelines
  • Previous by thread: Re: Cocoa Open GL help
  • Next by thread: Re: Cocoa Open GL help
  • Index(es):
    • Date
    • Thread