通过实践,要是把下面三个协议方法都实现了就不会报错了。另外还需要注意!的问题。
func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int{
}
func tableView(tableView: UITableView, cellForRowAtIndexPath index...
分类:
编程语言 时间:
2015-05-29 18:09:25
阅读次数:
130
前言Javascript是为浏览器而设计的,能很好的处理unicode编码的字符串,但对于二进制或非unicode编码的数据就显得无能为力。 Node.js继承Javascript的语言特性,同时又扩展了Javascript语言,为二进制的数据处理提供了Buffer类,让Node.js 可以像其他程...
分类:
Web程序 时间:
2015-05-29 17:11:35
阅读次数:
222
执行Python脚本时,报如下错误:[‘mkdir-p/tmp/gluster_volume_files.can.not.delete‘][E15052911:36:14web:1030]UncaughtexceptionGET/api/v1/volume/df/tank(10.58.164.150)HTTPRequest(protocol=‘http‘,host=‘10.160.140.23:8000‘,method=‘GET‘,uri=‘/api/v1/volume/df/tank..
分类:
其他好文 时间:
2015-05-29 15:59:55
阅读次数:
1322
实现代码:生命一个集成UITableView的类#import @protocol CHTouchTableViewDelegate @optional- (void)tableView:(UITableView *)tableView touchesBegan:(NSSet *)touches ....
分类:
其他好文 时间:
2015-05-29 15:13:35
阅读次数:
442
一、概述 本文是一篇关于TCP网络服务端的常用设计模式的笔记,方便自己和已有一定的网络及线程基础知识的人查阅。二、方式介绍1.同步阻塞网络模式: 基本为以下函数的顺序执行:int socket(int domain, int type, int protocol);int bind(int sock...
分类:
编程语言 时间:
2015-05-29 15:13:04
阅读次数:
164
eclipse4.4的proto文件编辑器Protocol Buffer Editor安装
google protocol buffer 文件编辑器。
插件项目名称为protobuf-dt,是托管在google code上,国内现在已经连接不上google code了,在eclipse市场可以发现该插件,但是不能安装。在github上发现 有人已经做了相关的同步,可以在下面地址下载...
分类:
系统相关 时间:
2015-05-29 09:57:11
阅读次数:
819
现像:CMDPHP:Poller[0]ERROR:ADBExecFailed!,Error:‘1062‘,SQL:"INSERTINTOpoller_item(local_data_id,host_id,action,hostname,snmp_community,snmp_version,snmp_timeout,snmp_username,snmp_password,snmp_auth_protocol,snmp_priv_passphrase,snmp_priv_protocol,snmp_con..
分类:
数据库 时间:
2015-05-29 06:19:46
阅读次数:
547
新的Xcode中这三个文件类型被放到一块去了:选中 Objective-C File 后, 出现下面的页面就可以选择了:
分类:
其他好文 时间:
2015-05-28 22:48:10
阅读次数:
134
1 use master 2 go 3 select * from sys.dm_os_buffer_descriptors 4 go 5 6 --查看数据库在数据缓存(data cache)中占用的空间大小 7 --由于每个数据页对应动态管理视图(dynamic management view.....
分类:
数据库 时间:
2015-05-28 19:48:13
阅读次数:
281
#import "ZYDownViewController.h"@interface ZYDownViewController ()@end@implementation ZYDownViewController{ // NSMutableData * buffer; long long _tot....
分类:
移动开发 时间:
2015-05-28 17:44:24
阅读次数:
220