Wouldn't it be nice to do a:
int a = [myArray objectAtIndex:0];
and get the object stored in the NSArray sent an -intValue? Yes, we
could invent a new language for this, but I don't think its
necessary in practice and would be quite a waste of time.
So you are proposing YAOLETAS (Yet Another Objective-C Language
Extension That's Already in Smalltalk")?
As there are nor primitive types, you just do:
a := myArray objectAtIndex:0.
Marcel Weiher Metaobject Software Technologies
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden