https://www.npmjs.org/package/block-timer https://www.npmjs.org/package/timer-ease 来自为知笔记(Wiz)
分类:
Web程序 时间:
2014-09-19 11:24:15
阅读次数:
135
Feature functional block diagram Terminal Functions ? 先看看芯片的特性(Features)、应用场合(Applications)以及内部框图。这有助于我们对芯片有一个宏观的了解,此时需要弄清楚该芯片的一些比较特殊的功能,充分利用芯片的特殊功能,对...
分类:
其他好文 时间:
2014-09-19 09:59:55
阅读次数:
196
ios8 上面,用UIAlertController将UIAlertView和UIActionSheet合二为一了。(1)创建普通alert UIAlertController *alertController = [UIAlertController alertControllerWithT...
分类:
移动开发 时间:
2014-09-18 13:04:13
阅读次数:
171
Here is the basic algorithm about merge sort:def merge(s1,s2,s): i=j=0 while i + j < len(s): if j == len(s2) or (i < len(s1) and s1[i] < ...
分类:
编程语言 时间:
2014-09-18 11:17:13
阅读次数:
165
网络请求三部创建一个请求(添加接口,对接口进行解码,)设定请求方式(将接口转为NSURL,设置请求[请求地址,缓存策略,超时时间],设置请求方式)连接服务器([同步连接,异步连接]代理连接,block连接)#import"MainViewController.h"
@interfaceMainViewController()
@property(retain,n..
分类:
其他好文 时间:
2014-09-18 09:53:54
阅读次数:
270
下面的东西是编写自定义的表情键盘,话不多说,开门见山吧!下面主要用到的知识有MVC, iOS开发中的自动布局,自定义组件的封装与使用,Block回调,CoreData的使用。有的小伙伴可能会问写一个自定义表情键盘肿么这么麻烦?下面将会介绍我们如何用上面提到的东西来定义我们的表情键盘的。下面的内容.....
分类:
移动开发 时间:
2014-09-18 09:46:53
阅读次数:
340
使用inline-block实现一个类似float布局效果,但是inline-block的元素间会存在“4px”的空白间距。span { display: inline-block; width: 30px; height: 30px;} 问题...
分类:
其他好文 时间:
2014-09-18 09:38:03
阅读次数:
254
参数1.动画时长参数2.Block(对UIView属性动画的封装)[UIViewanimateWithDuration:2animations:^{里面设置要修改的属性self.changeView.backgroundColor=[UIColorpurpleColor];}];
分类:
其他好文 时间:
2014-09-18 03:18:33
阅读次数:
183
参数1.动画时长参数2.要改变属性3.[UIViewanimateWithDuration:2animations:^{self.changeView.backgroundColor=[UIColorgreenColor];}completion:^(BOOLfinished){动画完成时调用finishde:用于动画是否完成if(finished){NSLog(@"完成");}NSLog(@"kkkk");}];
分类:
其他好文 时间:
2014-09-18 03:18:23
阅读次数:
156
[UIViewanimateWithDuration:2delay:0options:UIViewAnimationOptionCurveEaseInOutanimations:^{想要修改的属性self.changeView.backgroundColor=[UIColorlightGrayColor];}completion:^(BOOLfinished){完成时执行}];
分类:
其他好文 时间:
2014-09-18 03:18:13
阅读次数:
155