Re: NSNotificationQueue Question
Re: NSNotificationQueue Question
- Subject: Re: NSNotificationQueue Question
- From: Jonathan Taylor <email@hidden>
- Date: Wed, 20 May 2015 19:40:42 +0100
> I have a bit of code that posts notifications to coalescing notification queue.
> [...]
> In another place I need to force the notification queue to issue a did change notification.
>
> This works but the problem is that there are undesirable side effects to running the runloop once when this call is made.
> 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.
Is that definitely the way you need to do it, or would you be happy with pulling the notifications from the queue using dequeueNotificationsMatching, and then reposting with NSPostASAP or NSPostNow?
_______________________________________________
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