• 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: Determining the type at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining the type at runtime


  • Subject: Re: Determining the type at runtime
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Sun, 15 Feb 2009 16:02:44 -0600

On Sun, Feb 15, 2009 at 3:43 PM, ANE <email@hidden> wrote:
> Thank you for advice.
>
> I'm a newbie in objective-c. The idea was to build a generic class like
>  generics in C#...
>
> That's a pity.

Objective-C doesn't have generics or templates like C#, Java, and C++
have. It's more like Java and C# before they added generics.

In fact, Objective-C needs them less than those other languages
because of its very loose typing system. See also: duck typing.
http://en.wikipedia.org/wiki/Duck_typing
_______________________________________________

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

  • Prev by Date: Re: Testing C functions using OCUnit
  • Next by Date: multiple NSTextFields and undo problem
  • Previous by thread: Re: Programatically selecting items in a NSTableView
  • Next by thread: multiple NSTextFields and undo problem
  • Index(es):
    • Date
    • Thread