Delayed perform never performing
Delayed perform never performing
- Subject: Delayed perform never performing
- From: James Walker <email@hidden>
- Date: Fri, 24 Aug 2018 11:21:01 -0700
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 (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