摘要: 1.NSRange:(范围) 2.NSPoint\CGPoint(NSPoint相当于CGPoint):(位置:X、Y)设置Point的两种方式:1.NSPoint point = NSMakePoint(100,56); 2.NSPoint point2 = CGPointMake(40,63);... 阅读全文
posted @ 2015-03-21 23:30 深秋的露水 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 1.协议的定义 @protocol 协议名称 // 方法列表...... @end 2.如何遵守一份协议类遵守协议 @interface 类名 : 父类名 @end 协议遵守协议 @protocol 协议名 @end3.协议中方法声明的关键字@required(默认) 要求实... 阅读全文
posted @ 2015-03-21 01:45 深秋的露水 阅读(180) 评论(0) 推荐(0) 编辑