• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why the need for the id type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why the need for the id type?


  • Subject: Re: Why the need for the id type?
  • From: Wagner Truppel <email@hidden>
  • Date: Tue, 19 Jun 2007 01:17:54 +0200

On 19 Jun 2007, at 00:45, Nelson Santos wrote:

Hi Wagner,

It seems to me that I would have *all* of the behavior of Objective-
C, without id. The root class in my language would play the role of
Obj-C's id.

While I cannot comment to your first statement with the same certainty, I
have a question about your second. What happens if the user of your
language/framework creates a new class that does not extend your root
object?


Nelson

Hi Nelson,

they wouldn't be able to, since every class would necessarily descend from the root Object class, as in java.

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


References: 
 >RE: Why the need for the id type? (From: "Nelson Santos" <email@hidden>)

  • Prev by Date: Re: Why the need for the id type?
  • Next by Date: Re: Photo Viewer Exemple seen on "Introducing Core Animation"
  • Previous by thread: RE: Why the need for the id type?
  • Next by thread: Re: Why the need for the id type?
  • Index(es):
    • Date
    • Thread