Re: Determining the type at runtime
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