摘要:
1 #import 2 3 @interfaceCattle:NSObject{ 4 5 intlegsCount; 6 7 } 8 9 -(void)saySomething; 10 11 -(void)setLegsCount:(int)count; 12 1... 阅读全文
摘要:
OC方面的基础笔记摘录:1.类的基本用法#import // 大体上就是include, 用于包含头文件, 但是即使头文件中, 没有ifndef defined endif, 仍然能够踢除重复包含的头文件// ----@interface section----// OC中声明和实现是分离的, 两个... 阅读全文