码迷,mamicode.com
首页 >  
搜索关键字:Notification    ( 1147个结果
测试iOS的Notification是同步还是异步
面试被问到这个问题,不是很清楚,写代码测试并记录一下。 #pragma mark - 测试通知-(void)testNotification{ // 初始化一个按钮 UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(100, ...
分类:移动开发   时间:2018-04-27 23:02:37    阅读次数:302
在Python中使用aws的sns和sqs
首先,sns = Simple Notification Service,sqs = Simple Queue Service sns与sqs有什么不同? (ref:https://stackoverflow.com/questions/13681213/what-is-the-difference ...
分类:编程语言   时间:2018-04-16 21:31:34    阅读次数:825
iOS开发系列-NSTimer
- (void)viewDidLoad { [super viewDidLoad]; // 通知 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notification:) name:nil obj... ...
分类:移动开发   时间:2018-04-13 17:52:48    阅读次数:228
Keepalived主主模型
1、确保确保iptables及selinux不会成为阻碍。保持集群时间同步2、在ka1上    vim /etc/keepalived/keepalived.confglobal_defs {    notification_email {      root
分类:其他好文   时间:2018-04-03 15:21:13    阅读次数:110
H5特性Notification消息推送
Notification.requestPermission(function(status) { //default 用户没有接收或拒绝授权请求 不能显示通知 //granted 用户接受授权请求 允许显示通知 //denied 用户拒绝授权请求 不允许显示通知 console.log('perm... ...
分类:其他好文   时间:2018-04-03 14:26:53    阅读次数:485
[iOS 高级] iOS远程推送与本地推送大致流程
本地推送: UILocalNotification *notification=[[UILocalNotification alloc] init]; if (notification!=nil) { NSDate *now=[NSDate new]; notification.fireDate=[ ...
分类:移动开发   时间:2018-03-31 12:07:17    阅读次数:237
IPC的使用
IPC,Inter-Processor Communication是SYS/BIOS处理核间通信的组件: IPC的几种应用方式: 1.最小使用(Minimal use) 这种情况是通过核间的通知机制(notification)来实施的,而一个通知所携带的信息是非常小的(一般是32bits),所以称为 ...
分类:其他好文   时间:2018-03-27 12:26:49    阅读次数:214
New Windows 10 SDK - Toast Notification
概述 Toast Notification 在 UWP App 中有很重要的作用,能够很大程度上增强 App 和用户之间的沟通,比如运营推广活动、版本更新、提醒类任务提示等等。Toast Notification 可以通过图片、文字、按钮等创建可适配、可交互的通知。 我们在 About Window ...
分类:Windows程序   时间:2018-03-21 16:33:38    阅读次数:277
苹果推送流程
今天看了一篇关于苹果系统接收推送消息的文章,简单记录一下 推送系统也有测试环境(沙盒环境)和正式环境 苹果推送服务 对于苹果的 iOS 系统来说,它有自建的官方推送服务 APNS(Apple Push Notification service)。当我们的手机处于开机状态时,iOS 系统内置的一个推送 ...
分类:移动开发   时间:2018-03-15 11:09:25    阅读次数:230
iOS KVO详解
一、KVO 是什么? KVO 是 Objective-C 对观察者设计模式的一种实现。【另外一种是:通知机制(notification),详情参考:iOS 趣谈设计模式——通知】; KVO 提供一种机制,指定一个被观察对象(例如 A 类),当对象某个属性(例如 A 中的字符串 name)发生更改时, ...
分类:移动开发   时间:2018-03-13 15:41:42    阅读次数:264
1147条   上一页 1 ... 10 11 12 13 14 ... 115 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!