title: Filter array of strings, including "like" condition
body: <p>If my main array is <code>["Hello","Bye","Halo"]</code>, and I'm searching for <code>"lo"</code>, it will filter the array only to <code>["Hello", "Halo"]</code>.</p>
  
  <p>This is what I've tried:</p>
  
  <pre><code> let matchingTerms = filter(catalogNames) {
          $0.rangeOfString(self.txtField.text!, options: .CaseInsensitiveSearch) !=  nil
      }
  </code></pre>
  
  <p>It throws </p>
  
  <pre><code>Type of expression is ambiguous without more context
  </code></pre>
  
  <p>Any suggestions?</p>