? 新建一个继承UIView的自定义view,假设类名叫做(ABCAppView)?
新建一个ABCAppView.xib文件来描述ABCAppView内部的结构? 修改UIView的类型为ABCAppView真实类型?
将内部的子控件跟ABCAppView进行属性连线? ABCAppView提供一...
分类:
其他好文 时间:
2014-05-05 23:01:07
阅读次数:
270
Android下EditText中的字体不统一问题好久没写,今天心情好略记下解决的某bug在一个登录界面有帐号和密码两个EditText,但是却发现两个EditText的hint的英文字体不同,看着极不协调。但是两个EditText都没有特意设置过hint的字体啊···经实验,把密码栏的androi...
分类:
移动开发 时间:
2014-05-05 22:55:51
阅读次数:
483
Problem
Link:http://oj.leetcode.com/problems/word-ladder/Two typical techniques are
inspected in this problem:Hash Table. One hash set is the words di...
分类:
其他好文 时间:
2014-05-05 22:44:44
阅读次数:
393
在做hibernate修改和删除的时候,可能会遇到
org.hibernate.NonUniqueObjectException异常,a different object with the same
identifier value was already associated with the s...
分类:
系统相关 时间:
2014-05-05 22:27:35
阅读次数:
361
双字节字符集(Double Byte Character
Set,缩写:DBCS)是指电脑的字符编码中,使用了两个字节的所有字符集合。这种字符集以汉语、日语和韩语(合称CJK,即Chinese、Japanese、Korean的首字母)的字符最具代表性,所以有时也专指CJK的字符集。http://zh...
分类:
数据库 时间:
2014-05-05 22:16:20
阅读次数:
420
以下所有操作都是在windows下面用putty连接linux
centos6的情景下。一直很纳闷为什么在tmux模式下不能把复制到的文字放到系统的粘贴板里面呢?通过层层阻碍,终于找到了原因。去掉
~/.tmux.conf中#设置鼠标可用#setw -g mode-mouse on如果你在最开始的时...
* 打开主菜单 = Alt + F1* 运行 = Alt + F2* 显示桌面 = Ctrl +
Alt + d* 最小化当前窗口 = Alt + F9* 最大化当前窗口 = Alt + F10* 关闭当前窗口 = Alt + F4* 截取全屏 =
Print Screen* 截取窗口 = Alt ...
分类:
其他好文 时间:
2014-05-05 22:06:15
阅读次数:
375
在公司项目开发中,用到了assetbundle,由于是webplayer不像手机,流量限制几乎没有,所以场景都是用assetbundle打包后动态加载的,但是这个过程中,遇到不少坑:1.Editor版本不能读取与自己版本不同的assetbundle这个问题描述起来很简单:比如:老板原来让你用4.1打...
分类:
其他好文 时间:
2014-05-05 22:03:01
阅读次数:
365
Struts2实现文件上传
文件上传成功后结果页面
result.jsp:
...
分类:
其他好文 时间:
2014-05-05 13:06:13
阅读次数:
265
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.
For exa...
分类:
其他好文 时间:
2014-05-03 15:47:53
阅读次数:
289