RE: Virtual concept in Objective-C
RE: Virtual concept in Objective-C
- Subject: RE: Virtual concept in Objective-C
- From: Vinay Prabhu <email@hidden>
- Date: Wed, 19 Jul 2006 17:34:54 +0530
- Importance: Normal
So what is the best practice here?
-----Original Message-----
From: Dix Lorenz [mailto:email@hidden]
Sent: Wednesday, July 19, 2006 5:32 PM
To: email@hidden
Cc: Vinay Prabhu; email@hidden
Subject: Re: Virtual concept in Objective-C
On 19.07.2006, at 13:50, Finlay Dobbie wrote:
> On 19/07/06, Dix Lorenz <email@hidden> wrote:
>> No. Actually you don't even have to declare in the base class, it
>> would still work.
>
> As I'm sure you're aware, that's a bit of an oversimplification. It
> will be assumed to return id, which may or may not cause problems.
Good point, didn't think about that. I wouldn't have recommended it
anyway :-)
Dix
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or email@hidden
_______________________________________________
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