Does CFNotification center == NSNotification Center?
Does CFNotification center == NSNotification Center?
- Subject: Does CFNotification center == NSNotification Center?
- From: Lance Drake <email@hidden>
- Date: Mon, 14 Mar 2005 11:13:34 -0700
If, on one side of an equation, I register to receive a notification
via:
[[NSNotificationCenter defaultCenter]
addObserver: self
selector: @selector(LateBreakingNews:)
name: @"LateBreakingNews"
object: NULL];
and, on the other side of the situation, I issue a notification via:
CFNotificationCenterPostNotificationWithOptions
(
CFNotificationCenterGetDistributedCenter(),
CFSTR("LateBreakingNews"), // name
NULL, // const void* object
thedict, // CFDictionaryRef userInfo
kCFNotificationDeliverImmediately
);
Is it reasonable to expect the notification will be received?
Thanks!
Lance
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden