有时候我们为了用户体验需要对约束的视图执行动画, 如下: [UIView animateWithDuration:0.3 animations:^{ self.mButtomViewLayoutH.constant = 44; [self.mButtomView setNeedsLay...
分类:
其他好文 时间:
2015-09-09 16:43:35
阅读次数:
148
1、获取手机分辨率
public?static?String?getDisplayMetrix(Context?context)?{
????if?(Constant.Screen.SCREEN_WIDTH?==?0?||?Constant.Screen.SCREEN_HEIGHT?==?0)?{
????????if?(...
分类:
移动开发 时间:
2015-09-07 14:33:05
阅读次数:
221
题目链接 现在做这个题目真是千万只草泥马在心中路过 这个与上面一题差不多 这个题目是求e的第100个分数表达式中分子的各位数之和 What is most surprising is that the important mathematical constant,e = [2; 1,2,1, 1,...
分类:
其他好文 时间:
2015-09-06 19:51:48
阅读次数:
339
constant-常量类public class Constant { // 浏览器类型 public static final String[] mobileAgents = { "iphone", "android", "phone", "mobile", "wap", "netfr...
分类:
移动开发 时间:
2015-09-01 19:57:23
阅读次数:
345
AngularJS实战笔记 $emit, $broadcast,$on,$http.Jsonp,constant 用法
分类:
Web程序 时间:
2015-08-31 19:04:57
阅读次数:
267
//退款导出word public void exportWordTk() throws IOException{ Long userId=(Long)ServletActionContext.getContext().getSession().get(Constant.S...
分类:
编程语言 时间:
2015-08-29 15:18:41
阅读次数:
228
消除重复计算的缺点,既是将有两个模型,一个数据模型,一个位置模型。位置模型里面包含了数据模型,将计算位置和数据都一起做了。Constant.h文件保存常量//// Constant.h// QQ聊天//// Created by YaguangZhu on 15/8/27.// Copyri...
分类:
移动开发 时间:
2015-08-27 20:47:34
阅读次数:
240
题目:Sort a linked list inO(nlogn) time using constant space complexity.思路:考虑到要求用O(nlogn)的时间复杂度和constant space complexity来sort list,自然而然想到了merge sort方法。...
分类:
其他好文 时间:
2015-08-27 14:48:29
阅读次数:
108
题目Given an unsorted integer array, find the first missing positive integer.For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.Your algorithm should run in O(n) time and uses constant space....
分类:
其他好文 时间:
2015-08-26 17:52:01
阅读次数:
154
import java.sql.Connection;import java.sql.DriverManager;import pers.xkk.telbook.util.Constant;public class DBHelper { private Connection conn = nu...
分类:
数据库 时间:
2015-08-25 21:09:37
阅读次数:
156