键盘的展开和收起主要使用到类InputMethodManager:http://developer.android.com/reference/android/view/inputmethod/InputMethodManager.html其大致方法如下:1 public void hide_key...
分类:
移动开发 时间:
2015-01-02 19:53:30
阅读次数:
191
没看明白之一:Error handlingWhen methods return an error parameter by reference, check the returned value, not the error variable.Preferred:NSError *error = ...
分类:
移动开发 时间:
2015-01-02 12:14:34
阅读次数:
146
note:Description and Usage of Fields in RA_INTERFACE_LINES Table [ID 1195997.1]核心内容: Field Name and DescriptionValidation and DestinationUser should provide data when... and Reference InformationINTER...
分类:
其他好文 时间:
2015-01-01 12:31:52
阅读次数:
1058
——译自Apple Reference Library《Blocks Programming Topic》简介块对象是C语言的句法和运行时特性。它类似于标准C函数,但可以将代码、变量绑定到堆(heap)、栈(stack)。一个块还维护了一系列的状态,这些状态或数据影响着执行的结果。可以把块组成函数表...
分类:
移动开发 时间:
2014-12-31 17:52:31
阅读次数:
241
1. Context.getFilesDir()http://developer.android.com/reference/android/content/Context.html#getFilesDir()"Returns the absolute path to the directory o...
分类:
移动开发 时间:
2014-12-31 14:16:06
阅读次数:
189
Spring4.x框架参考文档
为了不出现重复翻译Spring4参考文档,专门发此文进行通知,同时也希望有兴趣参与翻译的参与进来。
项目地址: http://git.oschina.net/free/spring-framework-reference
基本说明
Spring文档为adoc格式,文件已经按基本的章节拆分为多个adoc文件,该...
分类:
编程语言 时间:
2014-12-31 10:06:20
阅读次数:
392
1. Reference:https://github.com/jesolem/PCV2. 介绍PCV is a pure Python library for computer vision based on the book "Programming Computer Vision with P...
分类:
编程语言 时间:
2014-12-31 09:58:22
阅读次数:
318
Reference:Why can't convert TCHAR* to char*Need toUse Multi-Byte Character Set in project's setting.If your project defines UNICODE/_UNICODE, which is...
分类:
其他好文 时间:
2014-12-30 18:36:16
阅读次数:
151
看吕大的书,其中对mutex的介绍让人心动,因此我做一次搬运工。mutex与latch区别:mutexlatch没有等待队列,没有持有队列,抢占机制使用队列spin255次,在spin期间无法获得,转入睡眠,自己醒来spin2000次,在spin期间无法获得,转入睡眠,等待唤醒使用引用计数器(referencecou..
分类:
其他好文 时间:
2014-12-30 11:58:04
阅读次数:
182
1、创建一个控件库2、除掉项目所有的引用3、右键点击项目然后查看项目属性4、在Build标签点击高级按钮,在弹出的对话框中勾上“'Do not reference mscorlib.dll”复选框5、手动添加对Silverlight安装目录(默认在\Program Files\Microsoft S...
分类:
其他好文 时间:
2014-12-30 11:29:23
阅读次数:
153