Fork me on GitHub
摘要: @protocol 协议名称 // 方法声明列表 @end @interface 类名 : 父类 <协议名称> @end 协议中有2个关键字可以控制方法是否要实现(默认是@required),在大多数情况下,用途在于程序员之间的交流 @protocol 协议名称 <协议1, 协议2> @end // 阅读全文
posted @ 2015-11-24 15:49 极度恐慌_JG 阅读(204) 评论(0) 推荐(0) 编辑