在做UIAlertView取消操作时,发现委托函数alertViewCancel:并不被调用,只好在alertView: didDismissWithButtonIndex:中进行判断。 1 @interface DateViewController () 2 @property (weak, n....
分类:
移动开发 时间:
2014-11-19 13:58:19
阅读次数:
186
为此对象添加KnownType属性(Attribute)。类型为用接口声明的属性(Property)的所有可能类型。示例如下: 1 public interface IKey 2 { 3 [DataMember] 4 int Id { get; set...
分类:
Web程序 时间:
2014-11-19 12:33:07
阅读次数:
133
attribute和property都有属性之意,但对于attribute和property的区分其实并不难。从对象来说,attribute是html文档上标签属性,而property则是对应dom元素的自身属性。从操作方法上来看,attribute可以通过dom core规范的接口 getAttr...
分类:
Web程序 时间:
2014-11-19 10:43:16
阅读次数:
359
今天在写一个SSH整合的项目时,首先将数据库操作部分单独分离出来,写完后使用Junit进行测试,经过测试,发现没有任何问题,对数据库中的内容进行增删改查没有问题,但是将他整合到SSH的项目中时,报出了这么一个错误org.hibernate.PropertyValueException: not-null property references a null or transient value: ...
分类:
Web程序 时间:
2014-11-18 10:20:38
阅读次数:
190
Problem description
A secret service developed a new kind of explosive that attain its volatile property only when a speci c
association of products occurs. Each product is a mix of two differen...
分类:
其他好文 时间:
2014-11-17 22:58:10
阅读次数:
383
题目描述
Problem C: Celebrity Split
Jack and Jill have decided to separate and divide their property equally. Each of their N mansions has a value between 1,000,000
and 40,000,000 dollars. J...
分类:
其他好文 时间:
2014-11-17 21:17:46
阅读次数:
239
请通过以下方式下载本系列文章的Github示例代码:
git clone https://github.com/davenkin/gradle-learning.git
Gradle最常用的Plugin便是java Plugin了。和其他Plugin一样,java Plugin并没有什么特别的地方,只是向Project中引入了多个Task和Property。当然,java P...
分类:
编程语言 时间:
2014-11-17 17:55:21
阅读次数:
158
//步骤。。。。。。。。。/**①子视图 定义协议:@protocol*②在子视图接口文件中定义代理@property(weak,nonatomic) id delegate;*③在子视图的实现文件(比如click实践中添加:[self.delegate myHeaderDidSelectedHea...
分类:
移动开发 时间:
2014-11-17 17:25:14
阅读次数:
128
1.TransitionTransition是一种直观上的效果,让DOM元素的某个属性在固定时间内从一旧值到一新值。目前Firefox、Opera、Safari和Chrome都支持transition ,IE还不支持。语法:transition:property duration timing-fu...
分类:
Web程序 时间:
2014-11-16 15:49:53
阅读次数:
246