James Walker
2018-08-24 18:21:01 UTC
What could cause a delayed perform (using -[NSObject performSelector:
withObject: afterDelay:]) to never happen? The requested delay is
0.175. I've checked that it's being issued from the main thread, and
I've checked that cancelPreviousPerformRequestsWithTarget: is not being
called. I wondered if I needed to do the delayed perform in a
particular run loop mode, and found that [[NSRunLoop currentRunLoop]
currentMode] is nil, which seems odd. Why would the run loop not be
running?
_______________________________________________
Cocoa-dev mailing list (Cocoa-***@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/gegs%40ml-in.narkive.net
This email sent to ***@ml-in.narkive.net
withObject: afterDelay:]) to never happen? The requested delay is
0.175. I've checked that it's being issued from the main thread, and
I've checked that cancelPreviousPerformRequestsWithTarget: is not being
called. I wondered if I needed to do the delayed perform in a
particular run loop mode, and found that [[NSRunLoop currentRunLoop]
currentMode] is nil, which seems odd. Why would the run loop not be
running?
_______________________________________________
Cocoa-dev mailing list (Cocoa-***@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/gegs%40ml-in.narkive.net
This email sent to ***@ml-in.narkive.net