刚刚转入iOS的开发,感觉还是挺吃力的,对于复杂界面的绘制比较困难。话不多说,转入正题...今天又遇到“linker command failed with exit code 1 (use -v to see invocation)”的问题,最让我郁闷的是Xcode并不会指出具体错误的代码,这让一...
分类:
移动开发 时间:
2015-09-21 15:20:58
阅读次数:
160
1.不可思议的上下滑动AndroidSlidingUpPanel 源码:http://www.itlanbao.com/code/20150815/10000/100388.html ? ? 2.DragLayout高仿QQ侧滑效果 源码:http://www.itlanbao.com/code/20150815/10000/100387.ht...
分类:
其他好文 时间:
2015-09-21 12:39:55
阅读次数:
170
2to3 Although it’s perfectly possible to just run your Python?2 code under Python?3 and fix each problem as it turns up, this quickly becomes very tedious. You need to change every print statem...
分类:
编程语言 时间:
2015-09-21 12:39:01
阅读次数:
244
1. Access page http://code.google.com/p/stardict-3/ to download starDict package or use zypper in to install it from product repo2. Download dictionar...
分类:
其他好文 时间:
2015-09-21 12:06:16
阅读次数:
124
读书笔记:《梦断代码Dreaming in Code》拿到《梦断代码》书后,一口气翻了一遍,然后又用了3天时间仔细读了一遍,也不禁掩卷长叹一声,做软件难。虽难,仍要继续走下去,可以把软件的范围限制得小一些,用敏捷方法等过程会使软件失败的风险小一些,毕竟我们还没有写书上所说的那样的大型软件。第0章 软...
分类:
其他好文 时间:
2015-09-21 01:24:04
阅读次数:
238
背景code first起初当修改model后,要持久化至数据库中时,总要把原数据库给删除掉再创建(DropCreateDatabaseIfModelChanges),此时就会产生一个问题,当我们的旧数据库中包含一些测试数据时,当持久化更新后,原数据将全部丢失,故我们可以引入EF的数据迁移功能来完成...
分类:
数据库 时间:
2015-09-21 00:00:27
阅读次数:
537
easyui 的validatebox()提供了自定义验证的方法,为此我把一些常用的数据验证汇总了一下,代码如下:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter....
分类:
其他好文 时间:
2015-09-20 23:45:49
阅读次数:
279
JQuery的extend扩展方法: Jquery的扩展方法extend是我们在写插件的过程中常用的方法,该方法有一些重载原型,在此,我们一起去了解了解。 一、Jquery的扩展方法原型是: Code highlighting produced by Actipro CodeHighligh...
分类:
Web程序 时间:
2015-09-20 23:44:09
阅读次数:
236
二分查找算法:二分查找求下界:class BinarySearch {public: int getPos(vector A, int n, int val) { // write code here int start=0, end=n; ...
分类:
其他好文 时间:
2015-09-20 22:12:09
阅读次数:
124
本文主要从设计模式角度简单地侃下Android4.4(KitKat)的Graphics子系统。可以看到在KitKat中Google对code还是整理过的,比如替换了像SurfaceTexture这种第一眼看到不知所云的东西,去掉了像ISurface这种打酱油的定...
分类:
移动开发 时间:
2015-09-20 19:17:10
阅读次数:
674