| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
The object can always use introspection to choose the right method though
On Wednesday, July 24, 2002, at 08:36 PM, Ondra Cada wrote:---
That said, static types are indeed almost superfluous from the functionality point of view. The only situation when they can't be replaced by ids without any problems are -- slightly incorrect, but possible -- messages with same name, but different signatures, like
@interface Foo
-(int)blah;
@end
@interface Bar
-(double)blah;
@end
Now, [(Foo*)x blah] and [(Bar*)x blah] are compiled differently.
| References: | |
| >Re: What is the purpose of static typing? (From: email@hidden) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.