Whilst learning Objective-C I ran into a situation where I needed to add two different objects (one inherits from the other) to an array. Whilst it does work I was not 100% sure it was good practice?
@interface TireBasic : NSObject {
}
@end
@interface TireSnow : TireBasic {
}
@end
// To this array?
TireBasic *tires[4];
cheers -gary-