• 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
Instance methods VS. Class methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Instance methods VS. Class methods


  • Subject: Instance methods VS. Class methods
  • From: Matt Ronge <email@hidden>
  • Date: Fri, 23 Nov 2001 22:19:45 -0600

Hi,

I've read through Apple's docs, read through Learning Cocoa, and I have
searched all over the web. Yet none of them have shed light on the
difference between instance methods and class methods?

Can someone give examples of why you would use one over the other? Is there
something comparable in C++ to them? Is one of them just a private method
identifer for use internally by the class?

Sorry for the newbie question,

Forward thanks for any help,
--
Matt Ronge

President
Monkeybread Software
http://www.monkeybreadsoftware.com


  • Follow-Ups:
    • Re: Instance methods VS. Class methods
      • From: Jeff LaMarche <email@hidden>
    • Re: Instance methods VS. Class methods
      • From: Andreas Monitzer <email@hidden>
    • Re: Instance methods VS. Class methods
      • From: Carlos Weber <email@hidden>
  • Prev by Date: Re: Rotating NSImage in NSImageView
  • Next by Date: Re: Instance methods VS. Class methods
  • Previous by thread: Disabling selecting another cell
  • Next by thread: Re: Instance methods VS. Class methods
  • Index(es):
    • Date
    • Thread