title: Limit length of multiple UITextFields in Swift 2
body: <p>a solution to limit the length of a <code>TextField</code> but the function <code>count</code> has been updated, also <code>count()</code> function, so I don't understand how to use this:</p>
  
  <pre><code>func textField(textField: UITextField, shouldChangeCharactersInRange range: NSRange, replacementString string: String) -&gt; Bool {
      let newLength = count(textField.text.utf16) + count(string.utf16) - range.length
      return newLength &lt;= 10 // Bool
  }
  </code></pre>
  
  <p>And how to update this to work on multiple <code>TextField</code> , I think I have to say if </p>
  
  <pre><code>textField = thisTextField.text...
  </code></pre>