• 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: Erik Buck <email@hidden>
  • Date: Mon, 18 Jun 2007 14:11:25 -0700 (PDT)

Without the id type,

  what type should NSArray's -objectAtIndex: return ?
  What type should NSResponder's -init method return ?
  What type would you use to store the result if calling [someObject class] ?
  What type would you use for the second argument to -performSelector:withObject: ?
  What should the function prototype for objc_msgSend(id self, SEL _cmd, ...) look like ?
  What type would you use to register an observer of notifications ?
  What type of variable would store an instance of NSProxy ?
  What type would you use for the -addSubview: method ?

_______________________________________________

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

  • Prev by Date: Re: Why the need for the id type?
  • Next by Date: Re: Why the need for the id type?
  • 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