title: Swift 3 Timer in a Class not firing
body: <p>I have a class: </p>
  
  <pre><code>class GameManager {...
  </code></pre>
  
  <p>and within it I have this func:</p>
  
  <pre><code>func startGame() {
  
          msgTimer = Timer(timeInterval: 0.5, target: self, selector: #selector(typeMessage(_:)), userInfo: nil, repeats: true)
  
  }
  </code></pre>
  
  <p>and the selector it calls: </p>
  
  <pre><code>@objc func typeMessage(_ sender:Timer) {
  
          if textCount &gt; strInitText.characters.count {
              let strThisChar = strInitText[strInitText.index(strInitText.startIndex, offsetBy: textCount)]
              strDisplayText = strDisplayText + String(strThisChar)
              print(strDisplayText)
          }
  
      }
  </code></pre>
  
  <p>But the selector never gets called. </p>
  
  <p><a href="https://i.stack.imgur.com/dCqV2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dCqV2.png" alt="enter image description here"></a></p>