• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Need advise on NSDistributedNotifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: How do you know when a modal operation has finished (in terms of Obj-C code) ?
  • Next by Date: Re: How do you know when a modal operation has finished (in terms of Obj-C code) ?
  • Previous by thread: Re: How do you know when a modal operation has finished (in terms of Obj-C code) ?
  • Next by thread: converting CIImage to NSData
  • Index(es):
    • Date
    • Thread