码迷,mamicode.com
首页 >  
搜索关键字:transition property duration timing-function delay    ( 11734个结果
Objective-C property属性解析
@interface …@property (原子性,可写性,内存管理) id name;@end原子性: nonatomic, atomic 默认atomic可写性: readwrite, readonly 默认readwrite内存管理: assign, retain, copy 默认as...
分类:其他好文   时间:2014-09-04 18:32:19    阅读次数:191
property测试代码:
//// main.m// TestVar2//// Created by lishujun on 14-9-4.// Copyright (c) 2014年 lishujun. All rights reserved.//#import @interface Address : NSObj...
分类:其他好文   时间:2014-09-04 18:30:09    阅读次数:212
图片连续播放、UISegmentedControl、UISlider、UISwitch、UIStepper
MainViewController.h#import<UIKit/UIKit.h> @interfaceMainViewController:UIViewController @property(nonatomic,retain)UISwitch*leftSwitch; @endMainViewController.m#import"MainViewController.h" @interfaceMainViewController() @end @implementationMainViewC..
分类:其他好文   时间:2014-09-04 10:37:49    阅读次数:174
css3效果
1、 放大图片:/*galleryImage css*/ a.galleryImage{ display:block;}.galleryImage img{ transition:all .4s ease-out;-webkit-transition:all .4s ease-out;}.galle...
分类:Web程序   时间:2014-09-04 09:35:17    阅读次数:168
WPF中使用ValueConverter来实现“范围条件触发器”
在WPF中,我们知道界面层可以通过Trigger触发器实现“条件”——“赋值”的功能属性触发器Property Trigger:当Dependency Property的值发生改变时触发。数据触发器Data Trigger: 当普通.NET属性的值发生改变时触发。事件触发器Event Trigger...
分类:其他好文   时间:2014-09-04 09:31:37    阅读次数:236
使用boost::property_tree生成带attribute的xml
使用boost::property_tree生成带attribute的xml...
分类:其他好文   时间:2014-09-04 08:27:57    阅读次数:143
【OC学习-9】利用@property属性和@synthesize简化实例变量的存取器方法
我们一般的做法: a)如果有需要保护的实例变量,那么就不要声明属性,直接在实例变量里面写即可 b)其他没有特殊要求的实例变量一般不写,而是直接写声明属性即可。 c)当然上一条属性直接生成的实例变量会和属性名同名,有危险,那么我们可以通过在类的.m文件里修改系统自动生成的实例变量的名字。...
分类:其他好文   时间:2014-09-03 14:59:36    阅读次数:245
通过AnimationSet 同步或一部播放多个动画 Android 属性动画(Property Animation) 完全解析 (下)
AnimationSet提供了一个把多个动画组合成一个组合的机制,并可设置组中动画的时序关系,如同时播放,顺序播放等。 以下例子同时应用5个动画:播放anim1;同时播放anim2,anim3,anim4;播放anim5。AnimatorSet bouncer = new AnimatorSet.....
分类:移动开发   时间:2014-09-03 12:42:06    阅读次数:351
iOS中的 self,super,copy等关键字问题
@synthesize关键字: 根据@property设置,自动生成成员变量相应的存取方法,从而可以使用点操作符来方便的存取该成员变量 。@implementation 关键字,表明类的实现 @end 结束self 关键字 :类似于java中的this,是隐藏参数,指向当前调用方法的类。super ...
分类:移动开发   时间:2014-09-03 12:33:06    阅读次数:302
简单的没有关卡的关灯游戏
有两个图片新建一个CloseLight类CloseLight.himport<UIKit/UIKit.h> @interfaceCloseLight:UIViewController @property(nonatomic,assign)NSIntegertag; @endCloseLight.m#import"CloseLight.h" @interfaceCloseLight() @end @implementationCloseLight -(id)initWithNib..
分类:其他好文   时间:2014-09-03 11:25:56    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!