• 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 variables
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protocol variables


  • Subject: Re: Protocol variables
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 26 Jul 2004 15:56:55 -0600

On Jul 26, 2004, at 2:53 PM, Theodore H. Smith wrote:

Can an object have a pointer to a protocol?

No, but an object can have a pointer to an object that is ambiguously typed ("id") but is expected to comply with a protocol. See AppKit's NSMenu.h header for an example.

Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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 variables
      • From: Prachi Gauriar <email@hidden>
References: 
 >Protocol variables (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: Re: Stopping on objc exceptions in Xcode
  • Next by Date: Debugging IB Palettes
  • Previous by thread: Protocol variables
  • Next by thread: Re: Protocol variables
  • Index(es):
    • Date
    • Thread