Obj-C 类
摘要:
1.创建类2.封装类 .h @interface (接口) 2.1声明成员变量{变量列表} 2.2声明函数 -(返回类型)方法名:(形参类型)形参1 标签:(形参类型)形参2; .m @implementation (启用) 实现函数3.使用类 创建对象: 类名 * 对象名 = [[类... 阅读全文
posted @ 2015-10-26 14:38 树下茶壶 阅读(174) 评论(0) 推荐(0) 编辑
posted @ 2015-10-26 14:38 树下茶壶 阅读(174) 评论(0) 推荐(0) 编辑
posted @ 2015-10-26 14:37 树下茶壶 阅读(129) 评论(0) 推荐(0) 编辑
posted @ 2015-10-26 14:36 树下茶壶 阅读(193) 评论(0) 推荐(0) 编辑
posted @ 2015-10-26 11:51 树下茶壶 阅读(185) 评论(0) 推荐(0) 编辑
posted @ 2015-10-26 11:50 树下茶壶 阅读(190) 评论(0) 推荐(0) 编辑