• 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: Class Methods & Class Objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Class Methods & Class Objects?


  • Subject: Re: Class Methods & Class Objects?
  • From: Brian Howard <email@hidden>
  • Date: Mon, 20 Aug 2001 20:58:59 -0400

On Monday, August 20, 2001, at 08:18 PM, James Bredijk wrote:

Hi,
As a Cocoa newbie, I'm a little confused with "class methods" & "class objects". Could someone explain what these things do as apposed to instance methods & instance objects??

Let's test my education so far: "class methods" are sent directly to the class in question, while instance methods are sent to instance objects. Class objects are more or less nothing other than "factories" designed to "stamp out" instances--the objects that do the actual work. There is bound to be more to it than that; wiser heads will fill us in, no doubt.

Brian E. Howard
Cocoa Cult Central
going out on a limb


References: 
 >Class Methods & Class Objects? (From: James Bredijk <email@hidden>)

  • Prev by Date: How to obtain CGFontRef from NSFont
  • Next by Date: Re: WTF? How can this work?
  • Previous by thread: Class Methods & Class Objects?
  • Next by thread: Re: Class Methods & Class Objects?
  • Index(es):
    • Date
    • Thread