最近发现之前做过的东西,在未掌握牢固的情况下,很快就会忘掉,所以,通过这些东西来保留下一些测试方法,以便以后能够回顾。WebService的最后一种测试方法,也就是通过HTTP协议来手写脚本完成测试,这里虽说手写脚本,其实完成的大部分还是复制粘贴的工作,很简单,下面简要..
分类:
Web程序 时间:
2014-12-24 11:58:05
阅读次数:
669
UINavigationController
StoryBoard的Segue类型有三种:Push,Modal,Custom.其中Push类型的Segue需要用到UINavigationController。第一步,先清空之前所有的连线和连接,选择ViewController,打开Editor菜单,选择Embed In选项中的Navigation Controller。
主窗口区域...
分类:
其他好文 时间:
2014-12-24 11:48:20
阅读次数:
236
自定义Segue
StoryBoard三种连接中,有一种类型是Custom,开发者可以使用自定义的Segue,自定义Segue类需要继承类UIStoryBoardSegue,并重写perform方法:
- (void)perform
{
NSLog(@"使用自定义连接");
[self.sourceViewController presentViewController:sel...
分类:
其他好文 时间:
2014-12-24 11:44:30
阅读次数:
133
这是自定义ActionBar样式的布局(使用的是SherlockActionBar,整体自定义) View?customView?=?getLayoutInflater().inflate(R.layout.actionbar_custom_view,?null);
ActionBarUtil.init();
//?...
getSupp...
分类:
移动开发 时间:
2014-12-23 10:45:38
阅读次数:
173
1. 使用setup命令[1] 打开一个终端窗口,输入setup命令[root@localhost ~]# setup[2] 选择Firewall configuration, 选择Run Tool,进入防火墙配置界面[3] 勾选Enabled开启防火墙,不勾选则不开启,此处开启,并选择Custom...
分类:
其他好文 时间:
2014-12-22 19:32:58
阅读次数:
143
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
xm...
分类:
其他好文 时间:
2014-12-22 00:59:57
阅读次数:
184
ZFTokenField效果图:iOS custom view that let you add token view inside like NSTokenFieldiOS定制的view,让你在NSTokenField中添加token view.Installation - 安装pod 'ZFTo...
分类:
其他好文 时间:
2014-12-21 21:57:56
阅读次数:
247
错误1:1.1这种错误都是storyboard有问题解决:当前storyboard的Custom Class是MJViewController,代码中MJViewController继承自UITableViewController。而storyboard目前提供的是UIViewController,...
分类:
移动开发 时间:
2014-12-21 16:31:56
阅读次数:
169
As we saw in the previous chapters, the way to manipulate the output of a binding before is shown is typically through the use of a converter. The coo...
分类:
其他好文 时间:
2014-12-21 12:41:10
阅读次数:
304
Command的意义:在开发过程当中,会有很多按钮需要实现同样的功能。因此可以采用Command将很多操作绑定到统一逻辑。可以通过CanExecute能够实现禁用/启用控件Command的四个主要概念CommandCommand SourceCommand TargetCommand Binding...