• 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: Problem with protocols using gcc 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with protocols using gcc 4


  • Subject: Re: Problem with protocols using gcc 4
  • From: j o a r <email@hidden>
  • Date: Tue, 21 Jun 2005 22:08:29 +0200


Would something like this work?:

@interface Foo : NSObject < ProtoA >
- (void) someMethod: (id < ProtoA, ProtoB >) obj;
@end

@interface Bar : Foo < ProtoB >
@end

Just make sure that the methods you need to call from "someMethod:" are declared in the ProtoA protocol.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with protocols using gcc 4
      • From: The Karl Adam <email@hidden>
References: 
 >Problem with protocols using gcc 4 (From: Kyle Hammond <email@hidden>)

  • Prev by Date: XCode 2.1 Debugging shows assembler by default
  • Next by Date: What is TRUEPREDICATE
  • Previous by thread: Problem with protocols using gcc 4
  • Next by thread: Re: Problem with protocols using gcc 4
  • Index(es):
    • Date
    • Thread