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 PROTECTED]>
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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/grahamreitz%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]