Stalling until notification is received
Stalling until notification is received
- Subject: Stalling until notification is received
- From: Indragie Karunaratne <email@hidden>
- Date: Tue, 31 May 2011 08:03:29 -0600
Hi all,
I need to create a simple command line application that will stall (as in keep running without exiting) until it receives a certain distributed notification via NSDistributedNotificationCenter. What would be the best way to go about doing this? I assume I'd have to have a separate thread for observing the notification and then have some sort of loop running in main() that checks whether the notification has been received, but I'm not certain. Any tips would be appreciated.
Thanks,
Indragie_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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