• 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: What is an id?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is an id?


  • Subject: Re: What is an id?
  • From: "Sherm Pendley" <email@hidden>
  • Date: Thu, 22 May 2008 13:15:58 -0400

On Thu, May 22, 2008 at 1:05 PM, john darnell <email@hidden>
wrote:

The question is, what does the code want me returning as an id?


Any object.

The next obvious question is, of course, why not declare the method as
returning an NSObject* - and the answer to that one is that, simply put, not
all Cocoa objects descend from NSObject.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

References: 
 >What is an id? (From: "john darnell" <email@hidden>)

  • Prev by Date: Re: What is an id?
  • Next by Date: Re: What is an id?
  • Previous by thread: Re: What is an id?
  • Next by thread: Re: What is an id?
  • Index(es):
    • Date
    • Thread