仿照其他类重写的工具类,我们在工程中,或多或少的要修改控件的坐标-宽度-高度,于是,经常性的见到大家self.view.frame.origin.x, self.view.frame.size.width...
分类:
其他好文 时间:
2014-12-10 12:38:23
阅读次数:
261
解决方案: 1:利用contentWindow,直接使用jquery的blur和focus,如果使用原生,加一个浏览器判断然后attachEvent 和 addEventListener就行了 $($(‘#frame‘)[0].contentWindow).blur(function(){}) $($(‘#frame...
分类:
其他好文 时间:
2014-12-10 10:58:28
阅读次数:
213
Hi, I find GYP's bug when dealing with GYP_DEFINES env variables override.
I was having a successfully android build, and i wanted to enable profiler support, so i followed the
http://www.chromi...
分类:
其他好文 时间:
2014-12-10 10:50:08
阅读次数:
172
这个原本是w3school上面的一个错误 这个是html data-*的一个例子(http://www.w3school.com.cn/tags/att_global_data.asp)结果跳到这个地方来了http://www.w3school.com.cn/tiy/t.asp?f=htm...
分类:
Web程序 时间:
2014-12-09 13:46:37
阅读次数:
199
发一个预览版的工作流设计器和表单设计器,后续问题继续探讨工作流引擎原理和设计器 原理,其中部分设计素材来源于网络。演示地址: http://211.149.216.199/frame/frame.action账号:flow密码:flow交流QQ群:1633831411、工作流设计器2、自定义表单设计...
分类:
其他好文 时间:
2014-12-09 13:39:00
阅读次数:
375
- (BOOL)isInScreenView:(UIView *)inView withRect:(CGRect)rect{
return CGRectIntersectsRect(inView.frame, rect);
}...
分类:
其他好文 时间:
2014-12-09 12:21:28
阅读次数:
156
引入:上篇文章讲解了Agent利用环境指针访问VM的线程组操作,这里讨论下堆栈操作。分类4:堆栈操作a.GetStackTrace.获取某线程的堆栈。jvmtiError
GetStackTrace(jvmtiEnv*env,
jthreadthread,
jintstart_depth,
jintmax_frame_count,
jvmtiFrameInfo*frame_buffer,
jint*count..
分类:
其他好文 时间:
2014-12-09 02:00:00
阅读次数:
158
self.imageview=[[UIImageView alloc] init]; self.imageview.frame=CGRectMake(100, 100, 100, 100); [self.view addSubview:self.imageview]; self.imagev...
分类:
其他好文 时间:
2014-12-09 00:20:05
阅读次数:
139
本程序引入了unity3d的程序,那么自然就使用到了jar包unity-class.jar这个jar包。在混淆的时候出现下列问题:
首先第一个问题:
java.io.IOException: Can't read [unity-classes.jar] (Can't process class [com/unity3d/player/UnityPlayer.class] (Unknown verification type [191] in stack map frame))...
分类:
移动开发 时间:
2014-12-08 21:34:10
阅读次数:
1228
1、GUI创建 1.GUI从创建windows开始,通常使用JFrame。 JFrame frame = new JFrame(); 2.可通过frame.getContentPane().add(BoarderLayout.CENTER,button)加入按钮、文字字段等组件,两个参数的add()...
分类:
其他好文 时间:
2014-12-08 21:00:15
阅读次数:
148