I'm trying to set a variable time delay for a timer in Swift4, but when I put in the variable I get the error:
Binary operator '+' cannot be applied to operands of type 'DispatchTime' and 'Int32'
I used the code:
let when = (DispatchTime.now() + (5 * x))
The Variable "x" is an Int32
Please help if you know how to fix it.