SHARE
TWEET

Untitled

a guest Jun 26th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let scheduleDate = Date(timeIntervalSince1970: 1555847730)
  2. DispatchQueue.main.asyncAfter(deadline: .now() + scheduleDate.timeIntervalSince(Date())) {
  3.             // do the thing!
  4.             Logger.shared.log(.app, .info, "executing schedule")        
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top