摘要:
//// Cat.h// OC3-父类指针指向子类对象//// Created by qianfeng on 15/6/17.// Copyright (c) 2015年 qianfeng. All rights reserved.//#import "Animal.h"@interface... 阅读全文
摘要:
//// main.c// 枚举和预处理//// Created by qianfeng on 15/6/3.// Copyright (c) 2015年 qianfeng. All rights reserved.//#include /* 枚举:用于声明一组常数 定义:enum 枚举名 ... 阅读全文
摘要:
assign: 简单赋值,不更改索引计数copy: 建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1Copy其实是建立了一个相同的对象,而retain不是:比如一个NSString对象,地址为0×1111,内容为@”STR”... 阅读全文
摘要:
//// NSString+Reverse.h// OC5_类别//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interf... 阅读全文
摘要:
//// Dog.h// OC4_实例变量的作用域//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog... 阅读全文
摘要:
//// Dog.h// OC3_选择器//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NS... 阅读全文
摘要:
//// Dog.h// OC2_点语法(属性关键字)//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface D... 阅读全文
摘要:
//// Dog.h// OC1_点语法//// Created by zhangxueming on 15/6/16.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import @interface Dog : NS... 阅读全文
摘要:
//// MyDictionary.h// OC4_电子词典//// Created by zhangxueming on 15/6/15.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #define F... 阅读全文
摘要:
//// LrcManager.h// OC3_歌词解析//// Created by zhangxueming on 15/6/15.// Copyright (c) 2015年 zhangxueming. All rights reserved.//#import #import "Lr... 阅读全文