ActiveObject模式,很古老,但是在某些场合又很有威力。可以用一个单线程来控制多任务。通常配合Command模式使用。...
分类:
其他好文 时间:
2014-09-15 16:02:29
阅读次数:
169
知识点 今天继续昨天没有讲完的Menu的学习,主要是Popup Menu的学习。Popup Menu(弹出式菜单) 弹出式菜单是一种固定在View上的菜单模型。主要用于以下三种情况:为特定的内容提供溢出风格(overflow-style)的菜单进行操作。提供其他部分的命令句(command sent...
分类:
移动开发 时间:
2014-09-15 12:42:49
阅读次数:
270
mac 下更新 .bash_profile 文件
在mac下配置cocos2dx游戏引擎的android编译环境配置
1、打开terminal(终端)
2、cd ~ ( 进入当前用户的home目录)
3、open .bash_profile (打开.bash_profile文件)
4、直接更改弹出的.bash_profile文件内容
5、command ...
分类:
其他好文 时间:
2014-09-15 11:17:58
阅读次数:
141
one fine day we were unabe to access app1 and app2 using proxy, when we checked logs we found following error in error_log (/etc/httpd/logs/error_log)...
分类:
其他好文 时间:
2014-09-15 11:12:08
阅读次数:
220
Ann has recently started commuting by subway. We know that a one ride subway ticket costs
a rubles. Besides, Ann found out that she can buy a special ticket for
m rides (she can buy it several times...
分类:
其他好文 时间:
2014-09-15 10:05:28
阅读次数:
320
一:情景: 在mac下使用git;xcode4.6的环境时,需要安装command line tools ,但是在装了xcode5之后,就不需要安装command line tools了,默认已经集成了;但是我先装了,xcode4.6后来又安装了xcode5也就是,我mac...
分类:
其他好文 时间:
2014-09-15 08:49:08
阅读次数:
184
如前文所说,DotNetBar为用户制作界面程序提供了很大的方便。同时其也提供了许多其他的工具,例如本文提到的DevComponents.DotNetBar.Command。
DevComponents.DotNetBar.Command的思想是将界面设计与相应函数的实现分离,降低系统内部的耦合性,同时可以提高相应函数的复用性。我们可以把Command对象绑定到一个系统控件上,在控件的触发一定动作时通过Command的响应函数来实现相应操作。...
分类:
Web程序 时间:
2014-09-15 03:18:58
阅读次数:
591
步骤如下:(1)启动Mac操作系统;(2)安装casperjs,phantomjs;(3)安装teamcity;(4)设置各种环境变量,设置teamcity直到可以打开网页;(5)网页上新建project;(6)使用command line方式运行casper用例脚本;(7)可以做成执行计划,设置执...
分类:
Web程序 时间:
2014-09-14 23:33:07
阅读次数:
263
更改Xcode的模板:Xcode.app ——>显示包内容(右击)——>contents——>Developer——>Library——>Xcode——>Templates——>Project Templates——>Mac——>Application——>Command Line Tool——>T...
分类:
其他好文 时间:
2014-09-14 23:22:37
阅读次数:
235
最新 5.1.1—7.1(手机)工程名命名:有意义英文、首字母大写、几个字母相连不要有空格、各字母首字母大写语句结束时,一定要用分号;所有程序command +” , "都会弹出设置栏Ctrl + A : 移动光标到本行行首Ctrl + E : 移动光标到本行行尾Ctrl + P :移动光标到上一....
分类:
其他好文 时间:
2014-09-14 23:19:17
阅读次数:
374