NS vs CFNotification
NS vs CFNotification
- Subject: NS vs CFNotification
- From: Trygve Inda <email@hidden>
- Date: Tue, 19 Sep 2006 13:09:40 +0000
- Thread-topic: NS vs CFNotification
I have to communicate between a Cocoa app and a Carbon app - basically the
Cocoa app needs to send signals to the Carbon app.
The docs say:
> Unlike some other Core Foundation opaque types with names similar to a Cocoa
> Foundation class (such as CFString and NSString), CFNotificationCenter objects
> cannot be cast (³toll-free bridged²) to NSNotificationCenter objects or
> vice-versa.
So do I need to use CFNotifications in my Cocoa app rather than
NSNotifications?
If I get the DistributedNotificationCenter in both apps (NS in Cocoa and CF
in Carbon) will a notification posted to one be able to reach the other?
Thanksm
Trygve
_______________________________________________
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