def loadAchieveData(self, data, dbflag): ffext.dump('加载成就数据 ') player = self.ownerref() back = Achieve() for row in data: back = Achieve() param = row ...
分类:
其他好文 时间:
2017-08-21 12:35:40
阅读次数:
125
RCBridge 初始化时声明了一个 CADisplayLink_jsDisplayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(_jsThreadUpdate:)];在 _jsThreadUpdate 函数中... ...
分类:
编程语言 时间:
2017-08-20 15:54:57
阅读次数:
290
来自Xavier的笔记:https://segmentfault.com/u/lihanx and https://segmentfault.com/q/1010000008883941 菜鸟Xpath教程:http://www.runoob.com/xpath/xpath-tutorial.htm ...
分类:
其他好文 时间:
2017-08-20 10:12:32
阅读次数:
182
Listeners and Event Domains In Ext JS 4.2, the MVC event dispatcher was generalized with the introduction of event domains. These event domains interc ...
分类:
Web程序 时间:
2017-08-19 23:46:42
阅读次数:
330
from multiprocessing import Process import time class MyProcess(Process): def __init__(self ): super(MyProcess, self).__init__() # self.name = name de... ...
分类:
其他好文 时间:
2017-08-19 20:15:44
阅读次数:
152
原创文章,欢迎转载。转载请注明:关东升的博客 实现目标与动作关联使用UIControl类addTarget(_:action:forControlEvents:)方法,演示样例代码例如以下:button.addTarget(self, action: "onClick:", forControlEv ...
分类:
编程语言 时间:
2017-08-19 17:03:27
阅读次数:
185
/* 析构方法: 对象的内存被回收前被隐式调用的方法, 对应OC的dealloc方法 主要执行一些额外操作, 例如释放一些持有资源, 关闭文件, 断开网络等 */ class FileHandle { var fd:Int32? // 文件描述符 //指定构造器 init(path:String) ...
分类:
其他好文 时间:
2017-08-19 12:52:43
阅读次数:
131
#include <stdio.h> #include <stdlib.h> int flag = 1; void * thr_fn(void * arg) { while (flag){ printf("******\n"); sleep(10); } printf("sleep test thr ...
分类:
编程语言 时间:
2017-08-19 12:47:21
阅读次数:
318
一、基本操作字段 class UnsignedIntegerField(models.IntegerField): def db_type(self, connection): return 'integer UNSIGNED' PS: 返回值为字段在数据库中的属性,Django字段默认的值为: ' ...
分类:
其他好文 时间:
2017-08-19 12:44:45
阅读次数:
135