码迷,mamicode.com
首页 >  
搜索关键字:transition property duration timing-function delay    ( 11734个结果
自定义TextField的删除按钮
自定义TextField的删除按钮#import @interface CustomTextField : UITextField@property(strong,nonatomic)NSString * alwaysShowStr;@end@interface CustomTextField ()...
分类:其他好文   时间:2014-08-22 10:42:06    阅读次数:145
HTML5 transform三维立方体(带旋转效果)
为了更好得掌握transform的精髓,所以决定完成三维立方体的模型,可以实现360无死角的三维旋转效果。 但是旋转时判断每个面的视图顺序比较困难,仍未完美解决,希望有人能解答! 源码直接贡献啦: .cuboid_side_div{ position:absolute; border:1px solid #333; -webkit-transition:ease all ...
分类:Web程序   时间:2014-08-22 09:23:45    阅读次数:315
js中实现多态
多态的实现可以采用和继承类似的方法。首先定义一个抽象类,其中调用一些虚方法,虚方法在抽象类中没用定义,而是通过其具体的实现类来实现。 如下面的例子: Object.extend=function(destination,source){ for(property in source){ destination[property]=source[property]; } return ...
分类:Web程序   时间:2014-08-22 08:11:45    阅读次数:245
C# 6.0语法新特性体验(二)
之前我在文章通过Roslyn体验C# 6.0的新语法中介绍了一些C# 6.0的语法特性,现在随着Visual Studio 14 CTP3的发布,又陆续可以体验一些新的特性了,这里简单的介绍一下之前没有介绍的新语法。属性表达式(Property Expressions)我们常常会在类中写一些通过函数...
分类:其他好文   时间:2014-08-21 22:34:14    阅读次数:337
本地跨域操作iframe的提示
Failed to read the ‘contentDocument‘ property from ‘HTMLIFrameElement‘: Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match.? 不想...
分类:其他好文   时间:2014-08-21 17:26:44    阅读次数:164
block对象传递事件
MyScrollView.h@property (nonatomic,assign) NSInteger currentPage;@property (nonatomic,strong) NSInteger (^numberOfPage)(MyScrollView *);@property (non...
分类:其他好文   时间:2014-08-21 14:58:54    阅读次数:166
用iOS 做一个简易计算器 (功能完备)
源代码(.m文件) #import "ZKJAppDelegate.h" @interface ZKJAppDelegate () @property (retain,nonatomic) UIView *containView; @property (retain, nonatomic) UIButton *button; @pr...
分类:移动开发   时间:2014-08-21 11:29:04    阅读次数:427
OC语言@property @synthesize和id
OC语言@property@synthesize和id一、@property@synthesize关键字注意:这两个关键字是编译器特性,让xcode可以自动生成getter和setter的声明和实现。(一)@property关键字@property关键字可以自动生成某个成员变量的setter和get...
分类:编程语言   时间:2014-08-21 11:14:13    阅读次数:187
在Mybatis中使用注解@多个参数查询
@Select("SELECT * FROM wc_homework WHERE organization_id=#{classId} ORDER BY createtime DESC LIMIT #{start},#{count}")     @Results({             @Result(column = "course_id", property = "course_id"...
分类:其他好文   时间:2014-08-21 00:12:43    阅读次数:227
Timer类调度任务
Timer类中常用的方法有:public void schedule(TimerTask task,long delay,long period): 重复地以固定的延迟时间去执行一个任务。public void scheduleAtFixedRate(TimerTask,long delay, l....
分类:其他好文   时间:2014-08-20 23:57:33    阅读次数:494
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!