Re: Creating Interface
Re: Creating Interface
- Subject: Re: Creating Interface
- From: Matthias Schonder <email@hidden>
- Date: Thu, 28 Aug 2008 12:21:13 +0200
You may read this:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_7_section_6.html#/
/apple_ref/doc/uid/TP30001163-CH15-TPXREF148
On 28.08.2008, at 12:14, Christian Giordano wrote:
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 (email@hidden)
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:
This email sent to email@hidden
--
Mit freundlichen Gruessen
Best regards
.Matthias Schonder
.aycan Digitalsysteme GmbH
.Innere Aumuehlstrasse 5
.97076 Wuerzburg . Germany
.+49.(0)9 31.270 40 9.0 . phone
.+49.(0)9 31.270 40 9.1 . fax
.mailto:email@hidden
.http://www.aycan.de
.Sitz der Gesellschaft: Wuerzburg
.eingetragen beim Amtsgericht Wuerzburg
.HRB 6043
.Geschaeftsfuehrung:
.Dipl.-Ing. Stephan Popp
.Dipl.-Ing. Matthias Broenner
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden