2018年3月30日

iOS-加载数据的实现-MJRefresh

摘要: 使用CocoaPods加载三方库: MJRefresh类结构图: 具体实现方法和效果图: The drop-down refresh 01-Default self.tableView.header = [MJRefreshNormalHeader headerWithRefreshingBlock 阅读全文

posted @ 2018-03-30 15:33 东方🐺 阅读(776) 评论(0) 推荐(0) 编辑

iOS - 协议实现的例子

摘要: 在实际开发中,协议的应用非常广泛,以下是实际应用的例子。 1、协议的定义: myProtocolDelegate.h myProtocolDelegate.m 2、协议的调用和实现: ViewController.h ViewController.m 阅读全文

posted @ 2018-03-30 14:53 东方🐺 阅读(430) 评论(0) 推荐(0) 编辑

导航