一:数据源方法/** 数据源协议,所有方法都必须实现 */@protocol UIPickerViewDataSource@required// 返回要显示的列数- (NSInteger)numberOfComponentsInPickerView:(UIPickerView *)pickerVie...
分类:
其他好文 时间:
2014-12-05 22:36:06
阅读次数:
283
1、使用校验属性执行校验required:该属性指定该表单控件必需填写。pattern:该属性指定该表单控件的值必需符合指定的正则表达式。min、max、step:这3个属性值对数值类型、日期类型的元素有效。2、调用checkValidity方法进行校验如果表单对象调用checkvalidate()...
分类:
Web程序 时间:
2014-12-05 00:42:00
阅读次数:
175
JQuery Validate使用总结:一、导入js库二、默认校验规则(1)required:true 必输字段(2)remote:"check.php" 使用ajax方法调用check.php验证输入值(3)email:true 必须输入正确格式的电子邮件(4)url:true 必须输入正确格式的...
分类:
Web程序 时间:
2014-12-03 22:55:06
阅读次数:
219
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:
其他好文 时间:
2014-12-03 22:42:21
阅读次数:
130
1Spring事务传播行为所谓事务传播行为就是多个事务方法相互调用时,事务如何在这些方法间传播。Spring支持7种事务传播行为PROPAGATION_REQUIRED(加入已有事务)如果当前没有事务,就新建一个事务,如果已经存在一个事务中,加入到这个事务中。这是最常见也是默认的方式。PROPAGA...
分类:
编程语言 时间:
2014-12-03 20:58:54
阅读次数:
214
-copyWithZone:
Returns a new instance that’s a copy of the receiver. (required)
-mutableCopy
Returns the object returned by mutableCopyWithZone: where
the zone is nil.
Declaration:
- ...
分类:
其他好文 时间:
2014-12-02 17:22:40
阅读次数:
193
1. 特性验证。//[Required]//[StringLength(5,MinimumLength=2)]//[Range(typeof(string),"a","z")]//[StringLength(5, MinimumLength = 2)]//[Range(3, 20)]//Output...
分类:
Web程序 时间:
2014-12-02 13:30:06
阅读次数:
239
用Xcode6 或 Application Loader发布时总是提示“Missing required icon file.The bundle does not contain an app icon for iPhone / iPod Touch of exactly '57x57' pixe...
分类:
移动开发 时间:
2014-12-02 11:45:30
阅读次数:
247
Understanding Joins1.Joins combine tables horizontally (side by side) by combining rows. The tables being joined are not required to have the same num...
分类:
数据库 时间:
2014-12-01 20:49:54
阅读次数:
439
Install Required Packages apt-get update & upgrade
apt-get install mysql-server nginx php5-cli php5-cgi spawn-fcgi nginx php5-cli php5-cgi
spawn-fcgi php5-gd php5-mysql 2 Create Di...
分类:
数据库 时间:
2014-12-01 16:25:49
阅读次数:
324