The Objective-C 2.0 Programming Language documentation indicates that
a type declaration for an object including a formal protocol should
look something like this.
id <Protocol> anObject;
I have been studying some sample code that does it like this.
NSObject <Protocol> *anObject;
What is the difference between the two?
Richard
_______________________________________________
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 arch...@mail-archive.com