• 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: newbie: send message to class not instance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie: send message to class not instance


  • Subject: Re: newbie: send message to class not instance
  • From: Horst Jäger <email@hidden>
  • Date: Fri, 17 Oct 2008 09:52:18 +0200






Java borrowed from Objective-C on this and many other features.  Java
was actually derived from Obj-C.

It is a "class method".

OK. I like Objective-C better anyway.


As to your other question, do this:

[[myInstance class] myClassMethod];

Yes, thank you, that worked.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >newbie: send message to class not instance (From: Horst Jäger <email@hidden>)
 >Re: newbie: send message to class not instance (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: [Moderator]Re: iPhone Development Mailing List
  • Next by Date: Core Data: The file is not in the right format - sometimes!
  • Previous by thread: Re: newbie: send message to class not instance
  • Next by thread: Calling UNIX command from Cocoa
  • Index(es):
    • Date
    • Thread