Re: Scope in an interface?
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