码迷,mamicode.com
首页 >  
搜索关键字:@property    ( 8449个结果
iOS 8 & Xcode 6:UIAlertView取消时不回调alertViewCancel:
在做UIAlertView取消操作时,发现委托函数alertViewCancel:并不被调用,只好在alertView: didDismissWithButtonIndex:中进行判断。 1 @interface DateViewController () 2 @property (weak, n....
分类:移动开发   时间:2014-11-19 13:58:19    阅读次数:186
【ASP.NET】DataContract序列化,反序列化对象中包含用接口声明的属性时的处理方法
为此对象添加KnownType属性(Attribute)。类型为用接口声明的属性(Property)的所有可能类型。示例如下: 1 public interface IKey 2 { 3 [DataMember] 4 int Id { get; set...
分类:Web程序   时间:2014-11-19 12:33:07    阅读次数:133
html标签属性(attribute)和dom元素的属性(property)
attribute和property都有属性之意,但对于attribute和property的区分其实并不难。从对象来说,attribute是html文档上标签属性,而property则是对应dom元素的自身属性。从操作方法上来看,attribute可以通过dom core规范的接口 getAttr...
分类:Web程序   时间:2014-11-19 10:43:16    阅读次数:359
org.hibernate.PropertyValueException: not-null property references a null or transient value: model.
今天在写一个SSH整合的项目时,首先将数据库操作部分单独分离出来,写完后使用Junit进行测试,经过测试,发现没有任何问题,对数据库中的内容进行增删改查没有问题,但是将他整合到SSH的项目中时,报出了这么一个错误org.hibernate.PropertyValueException: not-null property references a null or transient value: ...
分类:Web程序   时间:2014-11-18 10:20:38    阅读次数:190
X-Plosives
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
题目描述 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
Gradle学习之使用java plugin
请通过以下方式下载本系列文章的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
Android 动画详解之属性动画(Property Animation)
前文也提到过Android 3.0...
分类:移动开发   时间:2014-11-17 17:54:45    阅读次数:195
IOS 的协议和代理
//步骤。。。。。。。。。/**①子视图 定义协议:@protocol*②在子视图接口文件中定义代理@property(weak,nonatomic) id delegate;*③在子视图的实现文件(比如click实践中添加:[self.delegate myHeaderDidSelectedHea...
分类:移动开发   时间:2014-11-17 17:25:14    阅读次数:128
CSS3的过渡效果(transition)与动画(animation)
1.TransitionTransition是一种直观上的效果,让DOM元素的某个属性在固定时间内从一旧值到一新值。目前Firefox、Opera、Safari和Chrome都支持transition ,IE还不支持。语法:transition:property duration timing-fu...
分类:Web程序   时间:2014-11-16 15:49:53    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!