从现在开始进入表视图UITableView,同属UISrollView子类。
包括两个协议UITableViewDelegate, UITableViewDataSource
有一些概念
- 表头视图 header view
- 表脚视图 footer view
- 单元格 cell
- 节 section
- 节头 section header
- 节脚 section foot...
分类:
其他好文 时间:
2014-10-23 22:48:23
阅读次数:
217
ios8 如果UITableView只设置viewForHeaderInSection,则可能section不能显示,iOS7及以下版本显示正常。解决方案:设置heightForHeaderInSection。- (CGFloat)tableView:(UITableView *)tableView...
分类:
移动开发 时间:
2014-10-20 21:02:08
阅读次数:
163
新增的结构元素在 HTML5 中,新增了以下与结构相关的元素:section元素section 元素表示页面中的一个内容区块,比如章节、页眉、页脚或页面中的其他部分。它可以与h1、h2、h3、h4、h5、h6等元素结合起来使用,标识文档结构。HTML5 中代码示例:....HTML4 中代码示例:....
分类:
Web程序 时间:
2014-10-18 12:31:32
阅读次数:
218
效果图:.h#import @interface RootViewController : UIViewController{ UITableView *mTableView;}@end.m- (void)viewDidLoad{ [super viewDidLoad]; // D...
分类:
其他好文 时间:
2014-10-17 13:39:00
阅读次数:
166
laravel的参考文档中view的讲解有些简单。在实际项目开发中view的灵活性其实是非常大。首先来看看laravel中的布局页 和asp.net mvc中有什么不同 @section('title') {{{$title}}} --> @show ...
分类:
Web程序 时间:
2014-10-16 19:14:32
阅读次数:
228
解决E: Encountered a section with no Package: header错误 ? ? 我的ubuntu机器上出现下面这个错误。 ? ? Reading package lists... Error! ? ? E: Encountered a section with no Package: header ? ...
分类:
其他好文 时间:
2014-10-15 21:10:31
阅读次数:
188
此次作业要求我们做一个简单的打砖块游戏。 1 * File: Breakout.java 2 * ------------------- 3 * Name: 4 * Section Leader: 5 * 6 * This file will eventually imple...
分类:
其他好文 时间:
2014-10-15 03:26:49
阅读次数:
340
此次要求我们做一个打砖块的游戏。打砖块相信大家都玩过,介绍什么的就略去了。直接贴代码: 1 /* 2 * File: Breakout.java 3 * ------------------- 4 * Name: 5 * Section Leader: 6 * 7 * T...
分类:
其他好文 时间:
2014-10-15 02:11:09
阅读次数:
345
效果图:代码:.h#import #import "EGORefreshTableHeaderView.h"@interface RootViewController : UIViewController{ UITableView *_tableView; EGORefreshTable...
分类:
其他好文 时间:
2014-10-14 18:21:49
阅读次数:
136
spinlock,mutex,semaphore,critical section的作用与区别...
分类:
其他好文 时间:
2014-10-13 12:29:39
阅读次数:
218