在Objective-C中,message与方法的真正实现是在执行阶段绑定的,而非编译阶段。编译器会将消息发送转换成对objc_msgSend方法的调用。 objc_msgSend方法含两个必要参数:receiver、方法名(即:selector),如: [receiver message];将被....
分类:
移动开发 时间:
2014-10-22 17:21:27
阅读次数:
167
受试者工作特征曲线(receiver operating characteristic curve, 简称ROC曲线),又称为感受性曲线(sensitivity curve)。得此名的原因在于曲线上各点反应着相同的感受性,它们都是对同一信号刺激的反应,只不过是在几种不同的判定标准下所得的结果而已。接...
分类:
其他好文 时间:
2014-10-20 09:48:01
阅读次数:
247
Extras属性主要用于传递目标组件所需要的额外的数据 。通过putExtras()方法设置。 常作为一个Intent,BroadCast
Receiver等组件的传入数据使用!接下来我们来看下有哪些 Extras吧
EXTRA 常量值
意义
EXTRA_ALARM_COUNT
存放延迟的 Pending Alarms...
分类:
移动开发 时间:
2014-10-18 17:06:16
阅读次数:
655
Broadcast Receiver
Android广播机制包含三个基本要素:广播(Broadcast) - 用于发送广播;广播接收器(BroadcastReceiver) - 用于接收广播;意图内容(Intent)-用于保存广播相关信息的媒介。Broadcast是一种广泛运用的在应用程序之间传输信息的机制。而BroadcastReceiver是对发送出来的Broadcast进行过滤接受...
分类:
移动开发 时间:
2014-10-14 22:50:19
阅读次数:
181
类图
public interface ICommand {
void execute();
}
public class ConcreteCommand implements ICommand {
private Receiver receiver;
public ConcreteCommand(Receiver receiver) {
this.receiver = r...
分类:
编程语言 时间:
2014-10-13 14:31:29
阅读次数:
186
#!/usr/bin/envpython
#Importsmtplibfortheactualsendingfunction
importsys
importgetopt
importsmtplib
sender=‘liyiliang777@163.com‘#这里输入发件人邮箱地址
#Iftherearemorethanonereceiver,youneedtoganeratealist.
receiver=[‘aaa@sina.com‘,‘bbb@163.com‘]#这里输入..
分类:
编程语言 时间:
2014-10-11 19:05:17
阅读次数:
210
Intents and Intent Filters 三种应用程序基本组件activity, service和broadcast receiver——是使用称为intent的消息来激活的。 Intent消息传递是一种组件间运行时绑定的机制. intent是Intent对象, 它包含了需要做的操作的描...
分类:
移动开发 时间:
2014-10-11 11:13:05
阅读次数:
314
-(id)performSelector:(SEL)aSelector withObject:(id)anObjectDescription[说明]Sends a message to the receiver with an object as the argument. (required)[将...
分类:
其他好文 时间:
2014-10-10 16:28:10
阅读次数:
146
-(id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObjectDescription[说明]Sends a message to the receiver with two object...
分类:
其他好文 时间:
2014-10-10 16:00:50
阅读次数:
223
-(id)performSelector:(SEL)aSelectorDescription[说明]Sends a specified message to the receiver and returns the result of the message. (required)[发送指定消息的接...
分类:
其他好文 时间:
2014-10-10 13:29:34
阅读次数:
288