title: Starting countdown in update func
body: <p>I want to start a countdown after I add a sprite to make sure other sprites will add/ functions will be called after a certain amount of time. So far I have made sure the variable <code>countdownCanStart</code> will change from false to true as I add my sprite.
  Inside the <code>touchesBegan</code> function:</p>
  
  <pre><code>        //adding the sprite by touch
          addSprite()
  
          if spriteAdded {
              countdownCanStart = true
  
          }
  </code></pre>
  
  <p>Then in the update func:</p>
  
  <pre><code>    override func update(currentTime: NSTimeInterval) {
      if countdownCanStart {
          var framecount = 0
          framecount++
  
          if framecount == 10 {
              AddTheOtherSprites()
          }
      }
  
  
  }
  </code></pre>
  
  <p>The code runs, it doesn't crash, but next to the row <code>AddTheOtherSprites()</code> I see a yellow warning sign: "Will never be executed"</p>