title: Wait/Delay in Xcode (Swift)
body: <p>How do i add a delay in Xcode?</p>
  
  <pre><code>self.label1.alpha = 1.0
  //delay
  self.label1.alpha = 0.0
  </code></pre>
  
  <p>I'd like to make it wait about 2 seconds. I've read about time_dispatch and importing the darwin library, but i haven't been able to make it work. So can someone please explain it properly step by step?</p>