码迷,mamicode.com
首页 >  
搜索关键字:transition property duration timing-function delay    ( 11734个结果
简单计算器
#import "ViewController.h"#import "cal.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel *calrusult; @end float i=10.0;@i...
分类:其他好文   时间:2014-07-14 09:40:03    阅读次数:282
node开发指南中的microblog项目中遇到的问题总结及解决方法
1 使用connect-mongdo时,报错:Cannot read property 'Store' of undefined解决: require('connect-mongo')的时候加一个参数express,如下: var express = require('express'); var ...
分类:其他好文   时间:2014-07-14 00:30:23    阅读次数:298
使用容器控制器控制另外两个控制器的view交换
建三个UIViewController 的子控制器,其中一个为根控制器,另外两个控制器的视图作为切换对象AppDelegate中代码//AppDelegate.h中代码#import @interface AppDelegate : UIResponder @property (retain, no...
分类:其他好文   时间:2014-07-13 23:15:04    阅读次数:284
GCD 延时方法 (Swift)
func delay(delay:Double, closure:()->()) { dispatch_after( dispatch_time( DISPATCH_TIME_NOW, Int64(delay * Double(NSEC...
分类:其他好文   时间:2014-07-13 22:03:07    阅读次数:281
使用Java8提供的Duration类制作字幕时间轴调整工具
网上下载的字幕有时和片源的时间轴不一致,我们可以自己写一个工具来调整,也就是整体向前移动几秒,或者向后移动几秒。Java8中提供的Duration类使得这种时间计算极其方便。下面就以最简单的srt字幕格式为例说明。...
分类:编程语言   时间:2014-07-13 13:50:11    阅读次数:230
CSS3中的动画效果记录
今天要记录的是CSS3中的三种属性transform、transition以及animation,这三个属性大大提升了css处理动画的能力。一、Transform 变形 CSS中transform 属性允许你修改CSS可视化模型的坐标控件。使用transform,元素可以安装设定的值变形、旋转、缩....
分类:Web程序   时间:2014-07-13 13:00:09    阅读次数:546
uitableview学习---1
#import "ViewController.h" @interface ViewController () @property (strong,nonatomic) NSArray *bj; @property (strong, nonatomic)NSArray *gd; @end @implementation ViewController - (void)viewDidLoad...
分类:其他好文   时间:2014-07-12 22:22:54    阅读次数:286
如何使用 iOS 7 的 AVSpeechSynthesizer 制作有声书(4)
控制:我们必须学会控制大师尤达(电影《星球大战》)曾有言:关键在于控制。这本故事书是一个词一个词地念出来的,我准备为它增加两个按钮,这样我们就可以实时地调整语音合成时的音高和语速。仍然是 RWTPageViewController.m,在nextSpeechIndex 属性后声明下列属性: @property (nonatomic, assign) float currentPitchMul...
分类:移动开发   时间:2014-07-12 18:20:20    阅读次数:438
iOS 面试集锦2
4.写一个setter方法用于完成@property (nonatomic,retain)NSString *name,写一个setter方法用于完成@property(nonatomic,copy)NSString *name-(void)setName:(NSString*)str{[strre...
分类:移动开发   时间:2014-07-12 15:03:09    阅读次数:327
斯坦福 IOS讲义 课件总结 一
1,引入文件,#import IOS7 中可以这样写@import Foundation;2,在.h文件引入的是公用的,在.m文件里面引用的是本类私有的。私有属性声明@interface Card()//在这里面声明@property (strong) NSString *contents;@end...
分类:移动开发   时间:2014-07-12 14:51:30    阅读次数:260
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!