HTML5新增与结构有关的元素
1、section元素
2、article元素
3、aside元素
4、header元素
5、hgroup元素
6、footer元素
7、nav元素
8、figure元素...
分类:
Web程序 时间:
2015-03-14 21:48:23
阅读次数:
146
首先需要子类化一个navigationController的子类,在init方法中对定制nav的一些基本需求进行设置 1 - (instancetype)initWithRootViewController:(UIViewController *)rootViewController 2 { 3 ....
分类:
移动开发 时间:
2015-03-12 13:04:31
阅读次数:
5983
adb -d shell monkey -s 5 -p com.xxx.xx --throttle 500 --pct-touch 15 --pct-motion 10 --pct-trackball 15 --pct-nav 25 --pct-majornav 15 --pct-appswitch 2 --pct-anyevent 16 --monitor-native-crashes -...
分类:
其他好文 时间:
2015-03-11 13:13:16
阅读次数:
205
1.添加控制器到导航控制器中 NJOneViewController *one = [[NJOneViewController alloc] init]; 1.第一种方式 [nav pushViewController:one animated:YES]; 2.第二中方式 [...
分类:
其他好文 时间:
2015-03-06 23:36:43
阅读次数:
169
relationship -A "relationship" segue is the segue between a container view controller and its child or children -- so, the initial controller of a nav...
分类:
其他好文 时间:
2015-03-06 09:34:00
阅读次数:
271
/* 初始化导航按钮 */{credits = [ [ [ UIBarButtonItem alloc ]initWithTitle:@"Credits"style: UIBarButtonItemStylePlaintarget: appDelegateaction:@selector(credi...
分类:
移动开发 时间:
2015-03-04 20:43:40
阅读次数:
144
今天在问答区上看到一则有意思的问题,直接把截图搬过来,如下: (http://www.oschina.net/question/2268249_218189#tags_nav) ![][1] 看起来明显输入的正则表达式不同,但是输出结果都一样(制表符被替换)。随...
分类:
编程语言 时间:
2015-03-03 23:48:10
阅读次数:
717
For...In 声明用于遍历数组或者对象的属性(对数组或者对象的属性进行循环操作)。HTML 北京 厦门 西安 成都 杭州 青岛 丽江 拉萨JS1 var nav = document.getElementById("nav").getElement...
分类:
Web程序 时间:
2015-02-27 21:31:03
阅读次数:
154
这篇是转的文章,原文http://blianchen.blog.163.com/blog/static/13105629920103811451196/如果你也实现了上一章提到的代码,不难发现对下图的两种情况会出现问题左面的是两个区域有相交的情况,右面的是多边形本身有自交,在这两种情况下,前面给出的...
分类:
其他好文 时间:
2015-02-26 16:33:44
阅读次数:
184
这篇是转的文章,原文http://blianchen.blog.163.com/blog/static/13105629920103911258517/前面已经介绍了寻路的方法,现在给出我的一个实现。A*寻找网格路径A*算法就不说了,网上很多,这里只说下三角形网格如何使用A*算法,如下图,绿色直线代...
分类:
其他好文 时间:
2015-02-26 16:15:58
阅读次数:
116