> I just tried this, and it gives me a warning:

That is what he's complaining about... the warning.

To the OP: there is no way a compiler can tell if a class conforms
to a protocol when the only thing it knows is the name of the
protocol.  Thus the warning.  Maybe it will compile and run...
maybe not.

Marc
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to