摘要:
1、 继承的语法如下:@interface TestCoop : NSObject { int iMonth; int iYear; int iDay;}- (void) setYear: (int) iYear;- (void) primalSetData: (int)iYear :(int)iMonth :(int)iDay;- (void) setData: (int)Year iMonth:(int)iMonth iDay:(int)iDay;- (void) displayDateInfo;@end@interface TestAddWeather : TestCoop{ NSStr 阅读全文