连接器是基于http协议通过推模式(push)向数据接收服务端推送数据,即xmlfeed格式数据(xml格式),其发送数据接口命名为PusherPusher接口定义了与发送数据相关的方法public
interface Pusher { /** * Status indicating the ...
分类:
其他好文 时间:
2014-06-08 23:23:15
阅读次数:
377
连接器里面衔接数据源与数据推送对象的是QueryTraverser类对象,该类实现了Traverser接口/** * Interface presented
by a Traverser. Used by the Scheduler. */public interface Traverser { ....
分类:
其他好文 时间:
2014-06-08 22:24:14
阅读次数:
398
使用单例模式的类:UIApplicationUIAccelerometerNSUserDefaultsNSNotificationCenterNSFileManagerNSBundle等Singleton.h#import
@interface Singleton : NSObject// 始终返回...
分类:
移动开发 时间:
2014-06-08 21:28:11
阅读次数:
364
WTDelegate#import @protocol WTDelegate @required-
(void)sleep;- (void)eat;- (void)work;@endWTPhilosopher.h#import #import
"WTDelegate.h"@interface WTP...
分类:
移动开发 时间:
2014-06-08 20:57:13
阅读次数:
316
一、总结1. API调用的6个参数2. 处理后错误信息的处理3. API成功与否的判断依据4.
API和Interface的区别和优点二、具体分析1. API调用的6个参数 2. 处理后错误信息的处理 1 IF (fnd_msg_pub.count_msg
> 0) T...
分类:
数据库 时间:
2014-06-08 19:42:40
阅读次数:
267
1、案例视图,如下图2、代码TextKit01ViewController.h#import
@interface TextKit01ViewController : UIViewController@property
(nonatomic,strong) IBOutlet UITextView *...
分类:
移动开发 时间:
2014-06-08 19:03:04
阅读次数:
382
1、首先加入ASI开源库
2、
WebImageView.h
#import
#import "ASIHTTPRequest.h"
@interface WebImageView : UIImageView
- (void)setImageURL:(NSURL *)url;
@end
WebImageView.m
#import "WebImageView.h"
#import "ASIHTTPRequest.h"
...
分类:
移动开发 时间:
2014-06-08 10:54:39
阅读次数:
217
MDI窗体设计:(Multiple-Document Interface)
用途:用于同时显示多个文档,每个文档显示在各自的窗体中。
起到容器作用的窗体被称为"父窗体",可放在父窗体中的其他窗体称为"子窗体",也称为"MDI子窗体"。每个应用程序只能有一个父窗体,并且其他子窗体不能移出父窗体的框架区域。
1.设置父窗体:在窗体的属性面板 将IsMdiContainer属性设置为True即可...
SerialPort SDK is a professional java serial port SDK,provides simple communication interface to connect to any serial port device....
分类:
编程语言 时间:
2014-06-08 05:40:31
阅读次数:
273
iOS安全攻防(二十四):敏感逻辑的保护方案(1)Objective-C代码容易被hook,暴露信息太赤裸裸,为了安全,改用C来写吧!当然不是全部代码都要C来写,我指的是敏感业务逻辑代码。本文就介绍一种低学习成本的,简易的,Objective-C逻辑代码重构为C代码的办法。也许,程序中存在一个类似这样的类:@interface XXUtil : NSObject
+ (BOOL)isVerifi...
分类:
移动开发 时间:
2014-06-08 03:13:24
阅读次数:
307