上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页
  2017年8月3日
摘要: 1,计时器setInterval() 在执行时,从载入页面后每隔指定的时间执行代码。 function startCount() { document.getElementById('count').value=num; num=num+1; setTimeout("startCount()",10 阅读全文
posted @ 2017-08-03 15:24 廖利君 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1,数组 concat() 方法用于连接两个或多个数组。此方法返回一个新数组,不改变原来的数组 用法 var myarr1= new Array("010") var myarr2= new Array("-","84697581"); document.write(myarr1.concat(my 阅读全文
posted @ 2017-08-03 14:06 廖利君 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1,getDay() 返回星期,返回的是0-6的数字,0 表示星期天用法var weekday=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];var mynum = mydate.getDay();2,get/setTime() 返回/设置时间,单位毫秒数,计算从 1970 年 1 月 1 日零时到日期对象所指的日期的毫秒数。 getTime()返回的是当... 阅读全文
posted @ 2017-08-03 12:54 廖利君 阅读(236) 评论(0) 推荐(0) 编辑
  2017年7月21日
摘要: dispatch_async(dispatch_get_global_queue(0, 0), ^{ // 处理耗时操作的代码块... //通知主线程刷新 dispatch_async(dispatch_get_main_queue(), ^{ //回调或者说是通知主线程刷新, }); }); 阅读全文
posted @ 2017-07-21 11:02 廖利君 阅读(483) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-07-21 09:45 廖利君 阅读(0) 评论(0) 推荐(0) 编辑
  2017年7月5日
摘要: UIAlertController *alertss= [UIAlertController alertControllerWithTitle:@"选择照片" message:@"从相册选取照片或拍照发送" preferredStyle:UIAlertControllerStyleActionShe 阅读全文
posted @ 2017-07-05 14:43 廖利君 阅读(223) 评论(0) 推荐(0) 编辑
  2017年6月16日
摘要: 转 : GitHub 上发现已经有些喜欢新技术的开发者写了一些 demo,包括 Vision,AR,CoreML 相关的 repo,蛮有意思,有兴趣的可以 clone 一份跑一跑: https://github.com/jeffreybergier/Blog-Getting-Started-with 阅读全文
posted @ 2017-06-16 15:35 廖利君 阅读(226) 评论(0) 推荐(0) 编辑
  2017年6月14日
摘要: cd 进去文件夹 cd .. 返回上一层 lipo -info libavcodec.a 查看库支持arm i386 ls 查看当前文件夹所有目录 pwd 当前的根目录位置 q+: 退出 阅读全文
posted @ 2017-06-14 16:36 廖利君 阅读(104) 评论(0) 推荐(0) 编辑
  2017年6月13日
摘要: 阅读全文
posted @ 2017-06-13 18:00 廖利君 阅读(341) 评论(0) 推荐(0) 编辑
  2017年6月5日
摘要: 1、导入CoreLocation.frameWork 2,到Plist文件中增加: NSLocationWhenInUseDescription//使用app时是否允许app使用定位的提示语NSLocationAlwaysUsageDescription//不使用app时是否允许app使用定位的提示 阅读全文
posted @ 2017-06-05 11:01 廖利君 阅读(507) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 20 下一页