Re: Protocol variables
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.