1.使用CoreImage中的模糊滤镜原始效果图如下: CoreImage的实现:- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib. UIImage * image = [UIImage imageN...
分类:
移动开发 时间:
2016-04-18 17:25:52
阅读次数:
368
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege ...
分类:
移动开发 时间:
2016-04-18 13:12:13
阅读次数:
163
java之Secure hash functions
A secure hash function will generate
a large number, called the hash value, when given a document of some sort. This document can be of almost any type. We will be usi...
分类:
编程语言 时间:
2016-04-17 23:07:50
阅读次数:
336
/// 父类 Person class Person {
var name: String
init(name: String){
self.name = name
}
}/// 子类 Woman class Woman: Person {
var female: String...
分类:
编程语言 时间:
2016-04-17 06:51:52
阅读次数:
215
function
predicates(断言)
all语法
ALL(identifier in collection WHERE predicate)
any(至少一个),none,single(恰好一个)
exist语法
EXISTS( pattern-or-property )
scalar(标量)
coalesce(,,,)(合并)
返回第一个非空值,都为...
分类:
其他好文 时间:
2016-04-16 19:20:29
阅读次数:
138
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege ...
分类:
移动开发 时间:
2016-04-15 20:19:00
阅读次数:
182
因为项目的平台不同导致: 方法1:项目-》右键-》生成-》目标平台;全都修改成一样的(或Any Cup); 如果还不行: 方法2:查看项目-》右键-》生成-》平台,是否和其他的解决方案设置是否相同,如果不同: 1.则先卸载该项目。 2.找到平台关默认选择的关键字。 3.修改当前的平台。 ...
分类:
其他好文 时间:
2016-04-15 20:10:19
阅读次数:
140
Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or more of the preceding elemen ...
分类:
其他好文 时间:
2016-04-15 19:47:14
阅读次数:
129
在android guide中有这样的一段关于android应用程序进程的描述:By default, every application runs in its own Linux process. Android starts the process when any of the application's components need to be executed, then shuts...
分类:
移动开发 时间:
2016-04-15 12:20:22
阅读次数:
284
exportJAVACMD=`whichjava`
分类:
编程语言 时间:
2016-04-14 19:34:59
阅读次数:
857