1.案例一布局文件: 主程序:public class SurfaceActivity extends Activity implements SurfaceHolder.Callback { /** Called when...
分类:
移动开发 时间:
2015-06-15 20:24:02
阅读次数:
297
这几天把Programming with Objective-C再看了一边,发现有很多以前不明确的地方。现在把一些重要的点记下来,巩固学习效果。1.Objective-C Classes Are also Objects(OC类也是对象)In Objective-C, a class is itself an object with an opaque type called Class. Clas...
分类:
其他好文 时间:
2015-06-15 18:57:31
阅读次数:
144
A number is called 'desirable' if all thedigits are strictly ascending eg: 159 as 1<5<9. You know that your rivalhas a strictly numeric password that ...
分类:
其他好文 时间:
2015-06-14 12:18:02
阅读次数:
142
Redis is a TCP server using the client-server model and what is called a Request/Response protocol.
redis使用的是基于tcp协议的client-server模型,也可以叫做Request/Response 协议模型.
This means that usually a request i...
分类:
其他好文 时间:
2015-06-13 23:12:42
阅读次数:
373
The observer pattern is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and no...
分类:
其他好文 时间:
2015-06-12 23:46:18
阅读次数:
168
/*
UIViewController is a generic controller base class that manages a view. It has methods that are called
when a view appears or disappears.
Subclasses can override ...
How toinstallOpenResty15 January 2014, 6:18 amOpenResty, also called “ngx_openresty”, is a web application server based on the Nginx core, it also con...
分类:
其他好文 时间:
2015-06-11 20:48:58
阅读次数:
141
loadView;This is where subclasses should create their custom view hierarchy if they aren't using a nib. Should never be called directly.这是当他们没有正在使用nib...
分类:
其他好文 时间:
2015-06-10 20:57:00
阅读次数:
174
/*
UIViewController is a generic controller base class that manages a view. It has methods that are called
when a view appears or disappears.
Subclasses can override ...
An undirected graph is called k-regular, if the degrees of all its vertices
are equal k. An edge of a connected graph is called a bridge, if after
removing it the graph is being split into two con...
分类:
其他好文 时间:
2015-06-09 17:16:47
阅读次数:
171