线程间通信的表现: 1个线程传递数据给另1个线程 在1个线程中执行完特定任务后,转到另1个线程继续执行任务 下面是一个下载图片的例子: @interface?BTThreadViewController?()
{
????UIImageView?*imagev...
分类:
移动开发 时间:
2015-03-03 19:07:01
阅读次数:
161
wince系统自带的软键盘有两种样式,可通过Catalog Items View窗口中Shell and User Interface-->User Interface-->Software Input Panel下的SIP for Large Screens和SIP for Small Screens这两个组件来选择。
选择SIP for Large Screens效果:
选择SIP...
Handle the Easy libcurlTo use the easy interface, you must first create yourself an easy handle. You need one handle for each easy session you want to...
分类:
Web程序 时间:
2015-03-03 16:38:07
阅读次数:
167
The multi Interfacemulti接口The easy interface as described in detail in this document is a synchronous interface that transfers one file at a time and ...
分类:
其他好文 时间:
2015-03-03 16:34:45
阅读次数:
137
1.创建并初始化创建UITextView的文件,并在.h文件中写入如下代码: #import @interface TextViewController : UIViewController { UITextView *textView; } @property (nonatomi...
分类:
其他好文 时间:
2015-03-03 16:27:44
阅读次数:
132
CURLcodeAlmost all "easy" interface functions return a CURLcode error code. No matter what, using the curl_easy_setopt option CURLOPT_ERRORBUFFER is a...
分类:
Web程序 时间:
2015-03-03 16:23:08
阅读次数:
731
使用运行时库,必须要先引入 objc/runtime.h
看一个类别和动态添加属性的例子
UILabel+Associate.h
#import
@interface UILabel (Associate)
- (void) setFlashColor:(UIColor *) flashColor;
- (UIColor *) getFlashColor;
@end...
分类:
其他好文 时间:
2015-03-03 15:14:26
阅读次数:
141
GET:$htmlsource=file_get_contents("http://192.168.0.13/s/interface/shangpin/shangpinDL"); $postArray = iconv("utf-8", "gbk",$htmlsource); //$postArray...
分类:
Web程序 时间:
2015-03-03 13:11:40
阅读次数:
157
1.什么是JNDI?
JNDI( Java Naming and Directory Interface ),是Java平台的一个标准扩展,提供了一组接口、类和关于命名空间的概念。如同其它很多Java技术一样,JDNI是provider-based的技术,暴露了一个
API和一个服务供应接口(SPI)。这意味着任何基于名字的技术都能通过JNDI而提供服务,只要JNDI支持...
分类:
其他好文 时间:
2015-03-03 11:49:59
阅读次数:
158
先引入接口和抽象类的概念:接口(interface):用来定义一种程序的协定。实现接口的类或者结构要与接口的定义严格一致。有了这个协定,就可以抛开编程语言的限制(理论上)。接口可以从多个基接口继承,而类或结构可以实现多个接口。接口可以包含方法、属性、事件和索引器。接口本身不提供它所定义的成员的实现。...
分类:
其他好文 时间:
2015-03-02 22:28:52
阅读次数:
150