一个简单的Object-C类及其用make编译
摘要:
tire.h#import <Cocoa/Cocoa.h>@interface Tire : NSObject{ float pressure; float treadDepth;}-(void) setPressure: (float) pressure;-(float) pressure;-(void) setTreadDepth: (float) treadDepth;-(float) treadDepth;@end //TireGNUmakefileinclude $(GNUSTEP_MAKEFILES)/common.makeTOOL_NAME = MainMain_OB 阅读全文
posted @ 2012-12-09 21:27 梦书 阅读(323) 评论(0) 推荐(0) 编辑