码迷,mamicode.com
首页 >  
搜索关键字:pop    ( 7643个结果
Facebook POP动画简单使用
简单实用POP动画 发现POP比较好的一点是保留了动画结束后的状态,通过block回调。使用POPAnimatableProperty 可以快速添加基本动画,也可以自定义属性动画。 弹性动画 - (void)spring{     POPSpringAnimation* framePOP = [POPSpringAnimation animationWithPropert...
分类:其他好文   时间:2015-01-15 18:27:01    阅读次数:158
导入FaceBook POP报错
使用cocoaPods下载下来POP动画库,想手动导入到原来的工程,但是到了一堆错,什么文件没找到之类的。最后索性修改了所有的报错头文件: 修改POP.h后 :  #import "POPAnimatableProperty.h" #import "POPAnimation.h" #import "POPAnimationEvent.h" #import "POPAnim...
分类:其他好文   时间:2015-01-15 16:10:54    阅读次数:471
linux下php5.4安装redis扩展
一、redis简介redis是一个key-value存储系统。和Memcached类似,它支持存储的value类型相对更多,包括string(字符串)、list(链表)、set(集合)和zset(有序集合)。这些数据类型都支持push/pop、add/remove及取交集并集和差集及更丰富的操作,而且这些操作都是原子性的。在此基础..
分类:Web程序   时间:2015-01-14 18:17:06    阅读次数:216
poj 2442 Sequence 优先队列的运用
题意: 给m行,每行n个数,从每行取一个数计算和,求前n小的和。 分析:        优先队列的运用,主要是make_heap,pop_heap,push_heap三个STL函数的用法。 代码: //poj 2442 //sep9 #include #include using namespace std; const int maxN=2048; int a[maxN],b[m...
分类:其他好文   时间:2015-01-14 00:58:27    阅读次数:285
Java数组实现自定义栈
栈是一种“先进后出(FILO)”的数据结构,最后压入的数据项总是位于栈顶的位置,下面是维基百科中对栈的定义: 堆栈(英语:stack),也可直接称栈。台湾作堆叠,在计算机科学中,是一种特殊的串行形式的数据结构,它的特殊之处在于只能允许在链结串行或阵列的一端(称为堆叠顶端指标,英语:top)进行加入资料(英语:push)和输出资料(英语:pop)的运算。另外堆叠也可以用一维阵列或连结串行的...
分类:编程语言   时间:2015-01-12 17:38:26    阅读次数:414
关于数组的一些方法
var box = ['lili','nana','xiaoxiao'];//alert(box.join('|'));//在数组间插入|//alert(box.push('mm')); //进栈,数组末尾添加一个元素,并返回数组长度//alert(box.pop()); //出栈...
分类:编程语言   时间:2015-01-09 17:00:25    阅读次数:183
[翻译] DXPopover
DXPopoverA Popover mimic Facebook app popover using UIKit.使用UIKit框架写了一个类似于Facebook的pop效果的动画。The concept of this popover is very simple: add your conte...
分类:其他好文   时间:2015-01-09 00:03:50    阅读次数:233
[LeetCode] Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes...
分类:其他好文   时间:2015-01-08 12:51:24    阅读次数:114
leetcode 155. Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.push(x) -- Push element x onto stack.pop() -- Removes...
分类:其他好文   时间:2015-01-07 23:21:50    阅读次数:181
Min Stack
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get ...
分类:其他好文   时间:2015-01-07 15:01:43    阅读次数:106
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!