2017年2月24日

IOS 自定义代理delegate方法

摘要: 创建一个自定义代理 声明代理,外界可以进行调用(控件器) 通知代理 使用代理(实现方法)controller 阅读全文

posted @ 2017-02-24 15:43 守望星空 阅读(286) 评论(0) 推荐(0) 编辑

IOS 加载更多数据中

摘要: /**点击添加*/ - (IBAction)loadBtnClick { //1.隐藏加载按钮 self.loadBtn.hidden=YES; //2.显示“正在加载” self.loadingView.hidden=NO; //3.显示更多的数据 //GCD dispatch_after(disp... 阅读全文

posted @ 2017-02-24 14:56 守望星空 阅读(138) 评论(0) 推荐(0) 编辑

IOS 读取xib到tabelView

摘要: /**每一行显示怎样的ceLl*/ -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { //1.创建cell MJtgCell *cell=[MJtgCell cellWithTableView:tableView];... 阅读全文

posted @ 2017-02-24 10:23 守望星空 阅读(154) 评论(0) 推荐(0) 编辑

导航