Hi guys, I would like to create an Interface which will be eventually
implemented by some classes. I am a bit confused here, in objective-c
the .h files are basically already interfaces. Ok, but how could a .m
file implements more than one? I couldn't find any document explaining
how to implements multiple interfaces. In my ignorance I created a
normal .h file MyInterface.h and after importing it in my implementing
class header, I express it with the syntax that I've seen already:

@interface MyClass : NSObject <MyInterface> {
}

The problem is that I get a compiler error on the interface
declaration line saying: "cannot find protocol declaration for
'MyInterface'".

Does someone have any link or tips that might help me?


Thanks, chr
_______________________________________________

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]

Reply via email to