title: Value of type 'string' has no member 'containsString'
body: <p>I am new to iOS app developing.</p>
  
  <p>I am implementing search bar programatically in swift 3 .</p>
  
  <p>when I updated content for search controller I am getting this error.<br></p>
  
  <blockquote>
    <p>value of type 'string' has no member 'containsString'</p>
  </blockquote>
  
  <p>on this line :</p>
  
  <pre><code>return  categoryMatch &amp;&amp;
   candy.name.lowercaseString.containsString(searchText.lowercaseString)
  </code></pre>
  
  <p>this is code :</p>
  
  <pre><code>func updateSearchResultsForSearchController(searchController: UISearchController) {
          func filterContentForSearchText(searchText: String, scope: String = "All") {
              filteredCandies = candies.filter { candy in
                  let categoryMatch = (scope == "All") || (candy.category == scope)
                  return  categoryMatch &amp;&amp; candy.name.lowercaseString.containsString(searchText.lowercaseString)
              }
  
              tableView.reloadData()
          }
      }
  </code></pre>