epoll - I/O event notification facility在linux的网络编程中,非常长的时间都在使用select来做事件触发。在linux新的内核中,有了一种替换它的机制,就是epoll。相比于select,epoll最大的优点在于它不会随着监听fd数目的增长而减少效率。由于...
分类:
其他好文 时间:
2014-10-16 17:48:22
阅读次数:
260
iOS8新特性之交互式通知
iOS8以前的远程通知想必大家都非常熟悉了,这里不做过多介绍...
分类:
移动开发 时间:
2014-10-15 21:56:51
阅读次数:
230
本文转载至http://blog.csdn.net/jinkaiouyang/article/details/30029441ios手机apple通知中心notificationCenter苹果keynote展示push通知的一些优化,特别的允许用户能够直接在push上进行交互,这么牛逼的功能,当然...
分类:
移动开发 时间:
2014-10-13 11:34:49
阅读次数:
298
百度面试题:一面:知识点Objective C runtime library: Objective C的对象模型,Block的底层实现结构,消息发送,消息转发,内存管理CoreData : 多线程处理大量数据同步时的操作Delegate:Notification,KVO, other优缺点Runt...
分类:
移动开发 时间:
2014-10-13 10:16:29
阅读次数:
199
软件中写登录模块是为了防止软件的恶意传播,内测阶段可以忽略登录。以下为登录模块主要源代码:void CLoginDlg::OnBnClickedBtnLogin(){ // TODO: Add your control notification handler code here CClerkDat...
分类:
其他好文 时间:
2014-10-12 13:55:27
阅读次数:
200
【转载】iOS中delegate,notification,KVO三种模式实现通信的优缺点 原帖地址:http://blog.csdn.net/yangxt/article/details/8176636在开发iOS中,有三种模式来实现controller之间的通信: 1.委托delegation;...
分类:
移动开发 时间:
2014-10-11 18:40:35
阅读次数:
316
package com.example.mynotification;
import android.os.Bundle;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
i...
分类:
移动开发 时间:
2014-10-10 18:21:14
阅读次数:
190
epoll - I/O event notification facility在linux的网络编程中,非常长的时间都在使用select来做事件触发。在linux新的内核中,有了一种替换它的机制,就是epoll。相比于select,epoll最大的优点在于它不会随着监听fd数目的增长而减少效率。由于...
分类:
其他好文 时间:
2014-10-09 17:38:07
阅读次数:
226
org.junit.runner.notification. RunListener和RunNotifier运用了观察者模式。...
分类:
其他好文 时间:
2014-10-09 16:53:48
阅读次数:
151
1.delegate比nsnotification效率高。 2. delegate方法比notification更加直接,最典型的特征是, KVO和NSNotification的区别:和delegate一样,KVO和NSNotification的作用也是类与类之间的通信,与delegate不同的.....
分类:
其他好文 时间:
2014-10-09 01:21:47
阅读次数:
150