> On May 20, 2015, at 10:18 AM, Richard Charles <rcharles...@gmail.com> wrote:
> 
> This works but the problem is that there are undesirable side effects to 
> running the runloop once when this call is made.

Yup. Manually spinning the runloop in any non-custom mode is generally a bad 
idea.

> What I would like to do is to run the runloop once but only cause the 
> notification queue to post this notification but not do other things.

I don’t think that’s possible. NSNotificationQueue is convenient but limited; I 
suggest rolling your own equivalent using a timer or delayed-perform.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to