摘要: 类和对象 类 在Object c中类,其接口(interface)和实现(implementation)是分离开来的 类的声明 @interface 类名:父类名 { 实例变量的定义; } 方法声明; ... @end 类的实现 @implementation 类名 方法定义 ... @end 对象 阅读全文
posted @ 2016-03-06 22:02 EvansYang 阅读(128) 评论(0) 推荐(0) 编辑