On Sep 5, 2008, at 4:52 , Michael Ash wrote:


But at run time they are the same type. If you disagree, just create
an NSArray and a CFArray (with the standard CFType callbacks) and try
to tell the difference between them!

This is true for NSArray, because it will create an NSCFArray under the hood which is a CFArray. However, it is not true for the case of a functional NSArray subclass, which will not be a CFArray underneath. CFArray functions will continue to work because they fall back to sending messages to the object in question when it's not a CF- object, but telling the difference is fairly easy if you want to do it.

Marcel

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to