• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Protocol doesn't seem to compile? (SOLVED)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Protocol doesn't seem to compile? (SOLVED)


  • Subject: RE: Protocol doesn't seem to compile? (SOLVED)
  • From: "Jason Vowell" <email@hidden>
  • Date: Fri, 27 Feb 2004 09:21:27 -0600

Ahh after talking with a co-working that a C++ guy I understand my error!

The make file that Xcode writes for the source doesn't look for .h files it
look for .m files and includes upon pre-compile all the referenced .h
files.. it of course makes perfect sense that way.. I just failed to realize
this coming from a Java background..

So if one were wanting to do something like what I was describing.. just
writing protocols for someone else to implement.. these protocols would need
to be writing inside a .m files so that the make file that Xcode writes
would actually look for them.

Thanks,
Jason

-----Original Message-----
From: email@hidden
[mailto:email@hidden] On Behalf Of Andreas Mayer
Sent: Friday, February 27, 2004 8:54 AM
To: email@hidden
Subject: Re: Protocol doesn't seem to compile?

Am 27.02.2004 um 15:35 schrieb Jason Vowell:

> they contain not implementation and thus there is nothing to
> test...

Umm... designs need to be tested, too.

> but I'm surprised that people don't seem to have a problem with
> @protocol not being checked for syntax (unless as said before they are
> referenced by an implementing class)

That's because I have never designed a protocol that I didn't use
somewhere.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Protocol doesn't seem to compile? (SOLVED)
      • From: Sherm Pendley <email@hidden>
References: 
 >Re: Protocol doesn't seem to compile? (From: Andreas Mayer <email@hidden>)

  • Prev by Date: RE: Protocol doesn't seem to compile?
  • Next by Date: Re: Protocol doesn't seem to compile?
  • Previous by thread: Re: Protocol doesn't seem to compile?
  • Next by thread: Re: Protocol doesn't seem to compile? (SOLVED)
  • Index(es):
    • Date
    • Thread