Re: What is the equivalent of a C++ pure-virtual function in Objective-C?
Re: What is the equivalent of a C++ pure-virtual function in Objective-C?
- Subject: Re: What is the equivalent of a C++ pure-virtual function in Objective-C?
- From: "Michael A. Crawford" <email@hidden>
- Date: Sun, 11 Jan 2009 18:27:10 -0800
I submitted this question only after trying to find the answer in a
couple newer Cocoa programming texts that I own. Then, I went and dug
up a older text from 2002: Cocoa Programming from Anguish, Buck, and
Yacktman. I found something called a Protocol. From what I've read
so far this is what I need. I jumped the gun on posting the question
here before exhausting my local resources. Sorry for that. Still,
anyone wants to give me some guidance on protocols and how they should
be employed, I'm all ears (eyes).
-Michael
----------------------
The difference between genius and stupidity...
...is that genius has its limits."
-- Albert Einstein
On Jan 11, 2009, at 6:20 PM, Michael A. Crawford wrote:
I want to force derived classes to implement a given interface
without provided a default implementation. Does the concept exist
in Objective-C (I'm almost sure it does)? If so, what does the
syntax look like?
-Michael
----------------------
The united stand. The divided get played.
-- Bernie MAC
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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