摘要: 以今年的优势WWDC品行,我记得一些明年的元素。一些博客上找到了新的功能没有被记录。认为iOS 8全力以赴。iOS 7该属性不随手记录为时已晚 :)参考WWDC 2013的Session Videos《Getting Started with UIKit Dynamics》和《Advanced Te... 阅读全文
posted @ 2015-10-19 12:36 mengfanrong 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 方法一#include#includevoid bit_set(unsigned char *p_date, unsigned char position, int flag){ char a =(char) pow(2, (position - 1)); //指数 2^(position - 1... 阅读全文
posted @ 2015-10-19 12:05 mengfanrong 阅读(231) 评论(0) 推荐(0) 编辑
摘要: unity脚本自带函数执行顺序例如以下:将以下脚本挂在随意物体执行就可以得到 Awake ->OnEable-> Start ->-> FixedUpdate-> Update -> LateUpdate ->OnGUI ->Reset -> OnDisable ->OnDestroyusing ... 阅读全文
posted @ 2015-10-19 11:16 mengfanrong 阅读(2894) 评论(0) 推荐(0) 编辑
摘要: 分析:特殊情况处理代码:package arrays20;public class Demo01 { public static void ClockwisePrintMatrix(int[][] arrays,int columns,int rows){ if... 阅读全文
posted @ 2015-10-19 10:17 mengfanrong 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 在Struts中非常典型的特点就是使用了ActionForm来搜集表单数据,可是搜集到的表单数据所有都是String类型的。假设我们直接拿来使用我们会面临一个非常麻烦的问题就是频繁的类型装换。Struts中使用了BeanUtils来使我们从繁重的体力劳动中解脱出来。BeanUtils的工作原理:... 阅读全文
posted @ 2015-10-19 09:33 mengfanrong 阅读(174) 评论(0) 推荐(0) 编辑