链接:http://www.jianshu.com/p/b88c65ffc3eb 约束,就是指……此处略去1万字……都懂的,就不说了。直接进入实战环节。 本文的控件约束都是围绕着UITableView展开的。 UITableView约束: 在UITableViewController中的tableV ...
分类:
移动开发 时间:
2017-09-06 15:50:38
阅读次数:
450
// // ViewController.m // ZQRTableViewTest // // Created by zzqqrr on 17/8/24. // Copyright (c) 2017年 zzqqrr. All rights reserved. // #import "ViewCon... ...
分类:
移动开发 时间:
2017-08-25 15:49:45
阅读次数:
170
这样初始化UITableView,然后设置 ...
分类:
移动开发 时间:
2017-08-23 10:27:54
阅读次数:
292
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{ cell.separatorInset = U ...
分类:
移动开发 时间:
2017-08-21 16:30:28
阅读次数:
160
摘自:优化UITableViewCell高度计算Swift版、优化UITableViewCell高度计算的那些事 本文带大家详细探索那篇文章所对应的库(1.2版),这个库就是利用缓存tableviewcell的高度提高滑动的流畅性。 主要是利用Runloop在空闲状态时,后台计算tableviewc ...
分类:
其他好文 时间:
2017-08-18 20:12:29
阅读次数:
716
有些属性和方法始终是记不清,只能记下来,方便查找 如果对你有帮助请支持,没有帮助请告诉我哪里需要改进!谢谢! // ViewController.m // TableViewAll #import "ViewController.h" @interface ViewController ()<UIT ...
分类:
移动开发 时间:
2017-08-17 20:25:28
阅读次数:
335
刚接触iOS,依照教程操作执行出现错误 Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier Ce ...
分类:
移动开发 时间:
2017-08-16 23:20:40
阅读次数:
292
http://www.cnblogs.com/dhui69/p/6410134.html __kindof __kindof 这修饰符还是很实用的,解决了一个长期以来的小痛点,拿原来的 UITableView 的这个方法来说: Objective-C中的命名前缀说明: ...
分类:
其他好文 时间:
2017-08-10 11:48:31
阅读次数:
124
An instance 0xca90200 of class UITableView was deallocated while key value observers were still registered with it. Observation info was leaked, and m ...
分类:
其他好文 时间:
2017-08-09 18:05:20
阅读次数:
337