Re: Why the need for the id type?
Re: Why the need for the id type?
- Subject: Re: Why the need for the id type?
- From: Dominik Pich <email@hidden>
- Date: Tue, 19 Jun 2007 23:53:02 +0200
Hi,
Basically ID is not a type while NSObject is.
Say ID is a sign "hotdog", ... just because it says hotdog doesnt
mean it IS a hotdog. Its a sign.
NSObject is real though and in this comparison would be the real
hotdog :D
hehe Regards,
Dominik
On Jun 19, 2007, at 11:37 PM, Frank D. Engel, Jr. wrote:
You can instantiate a root class.
You cannot instantiate id.
Since id is not a class, it cannot be a root class.
On Jun 18, 2007, at 5:16 PM, Wagner Truppel wrote:
I apologize for belaboring the point. It's just that I still don't
see a difference between id and a root class.
Wagner
_________________________________________________________________
Need personalized email and website? Look no further. It's easy
with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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