• 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: Scope in an interface?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scope in an interface?


  • Subject: Re: Scope in an interface?
  • From: Graham Reitz <email@hidden>
  • Date: Sun, 25 May 2008 00:45:44 -0500

Sorry, assume the @implementation/@end are there. It's not an example meant to compile.

It sounds like what I listed can be considered synonymous with a c++ class?

thanks,
-graham


On May 25, 2008, at 12:36 AM, stephen joseph butler wrote:

On Sun, May 25, 2008 at 12:29 AM, Graham Reitz <email@hidden> wrote:
Can I think of an @interface as something similar to a c++ class?

A class in Obj-C consists of an interface and an implementation (you forgot the @implementation/@end in your example). Just like a class in C++ (usually) consists of the definition in the header and the function implementations in the cpp/cxx/C file. _______________________________________________

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

_______________________________________________

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: 
 >Scope in an interface? (From: Graham Reitz <email@hidden>)
 >Re: Scope in an interface? (From: "stephen joseph butler" <email@hidden>)

  • Prev by Date: Re: Scope in an interface?
  • Next by Date: Faster way to test pixels?
  • Previous by thread: Re: Scope in an interface?
  • Next by thread: Re: Scope in an interface?
  • Index(es):
    • Date
    • Thread