Need advise on NSDistributedNotifications
Need advise on NSDistributedNotifications
- Subject: Need advise on NSDistributedNotifications
- From: Todd Freese <email@hidden>
- Date: Wed, 14 Feb 2007 10:10:11 -0600
I have an application which needs to send a lot of messages from a
background thread to the the currently open document. This is a Doc-
style application.
The background thread is reading data from an external source and can
generate data up to 30 times a second. The interface needs to be
updated to show this data.
Currently, I am using NSDistributedNotifications. Is this class too
heavy weight for this sort of communications? I looked at Nathan
Day's NDRunLoopMessenger and preformSelectionOnMainThread as
alternatives. Everything is working now, but the app is at version
1.0. I am worried that this overhead may be a problem down the road.
Any thoughts?
Todd Freese
The Filmworkers Club
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden