码迷,mamicode.com
首页 >  
搜索关键字:pendingintent notification    ( 1236个结果
delegate、notification、KVO的使用场景总结
假如A和B需要通信,B需要获取A的消息 首先是delegate和notification这两个,A和B之间有相互的关联用delegate,若A和B毫无联系就该用notification。 然后是KVO,delegate和notification是A和B双方合作的事情,而KVO是B单方面的事情...
分类:其他好文   时间:2014-10-27 17:19:09    阅读次数:124
Laravel插件推荐
用户权限管理解决方案 "cartalyst/sentry": "2.1.*",详细地址:Cartalyst 网站面包屑 "davejamesmiller/laravel-breadcrumbs": "dev-master", 消息管理 "edvinaskrucas/notification": "3...
分类:其他好文   时间:2014-10-27 17:04:06    阅读次数:316
iOS本地通知UILocalNotification
1、本地通知的定义和使用:本地通知是UILocalNotification的实例,主要有三类属性:scheduled time,时间周期,用来指定iOS系统发送通知的日期和时间;notification type,通知类型,包括警告信息、动作按钮的标题、应用图标上的badge(数字标记)和播放的声音...
分类:移动开发   时间:2014-10-26 21:03:25    阅读次数:282
notification 报错the method build() is undefined for the type Notificatin.Builder
notification 报错the method build() is undefined for the type Notificatin.Builder 这事api版本太低导致的 Notifica没有builder方法,解决方案,将项目api调整到 17 ok。...
分类:其他好文   时间:2014-10-24 14:40:17    阅读次数:166
android.telephony.SmsManager 短信笔记
android 几种发送短信的方法http://www.oschina.net/question/163910_27409package com.union.matchfighter;import android.app.PendingIntent;import android.telephony....
分类:移动开发   时间:2014-10-23 17:34:02    阅读次数:223
Android 推送 之 JPush
package com.seven7.mypushdome; import org.json.JSONException; import org.json.JSONObject; import cn.jpush.android.api.JPushInterface; import android.app.Notification; import android.app.Notificati...
分类:移动开发   时间:2014-10-23 10:48:08    阅读次数:237
关于Block的copy和循环引用的问题
http://blog.csdn.net/felix9/article/details/9619313 在实际开发中,发现使用Block有着比delegate和notification更简洁的优势。于是在目前的项目中大量的使用block。 在我的头文件我是这样声明使用block的。[plain].....
分类:其他好文   时间:2014-10-20 21:09:33    阅读次数:205
IOS 常用的设计模式
1、MVC模式:2、代理模式:3、单例模式:4、观察者模式:Notification、KVO5、工厂模式:6、策略模式:
分类:移动开发   时间:2014-10-20 15:26:25    阅读次数:135
Android难题 :如何判断两个PendingIntent是否相同?
============问题描述============ 再做一个闹铃服务,我在A类里面通过PendingIntentpi_1=PendingIntent .getBroadcast(context,re_1.getAlarm_id(),intent_1,0);aManager.set(AlarmM...
分类:移动开发   时间:2014-10-19 23:04:43    阅读次数:349
NotificationCenter、KVC、KVO、Delegate
简述NotificationCenter、KVC、KVO、Delegate?并说明它们之间的区别?Notification是观察者模式的实现,KVO是观察者模式的OB-C底层实现。NOtification通过Notifydcationaddobserver和removeobserver工作。 KVO是键值监听,键值观察机制,提供了观察某一属性变化的方..
分类:其他好文   时间:2014-10-19 01:31:06    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!