A few minutes search gave me this. While I haven't taken a deep look to these resources, they do look good.
- What's a forward declaration ? (several languages including Obj-C) http://en.wikipedia.org/wiki/Forward_declaration - When to use a forward declaration (C++): http://stackoverflow.com/questions/553682/when-to-use-forward-declaration - Objective C Programming Tutorial | Using @class And #import Directives http://www.youtube.com/watch?v=0b9Qok2uHhU @class allows you to declare a class. Example: @class MyClass; The forward declaration is used to tell the compiler: "The word MyClass represents a class. I don't give you the implementation yet, but it represents a class, and the implementation will be provided later". Jean On 21 mars 2013, at 21:43, H Miersch <[email protected]> wrote: > hi. > > what exactly does @class do? > > and what does "forward declaration" mean? > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/jean.lists%40gmail.com > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
