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: Wagner Truppel <email@hidden>
- Date: Mon, 18 Jun 2007 23:20:37 +0200
I don't understand why id should be necessary. Why isn't NSObject
(or some other root class) enough?
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaFundamentals/CocoaObjects/chapter_3_section_3.html#//
apple_ref/doc/uid/TP40002974-CH4-DontLinkElementID_130>
I don't see how this directly answers the OP's question.
Precisely.
My first thought would be that "id" can point to a non-NSObject
object; it's kind of like a psuedo-base-class from which all
unparented classes derive (NSObject being the most common example).
But that may be an oversimplification.
And why is that any different than what a true root class (be it
NSObject, NSProxy, Object, or whatever) could provide?
Wagner
_______________________________________________
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