title: Call TextFieldShouldReturn Programmatically Swift
body: <p>I have a textField in my TableViewController with a search return key.</p>
  
  <p>I succeeded to put some text programmatically in the search textField but I didn't succueed to run the search option programmatically.</p>
  
  <p>This is my code so far:</p>
  
  <p><a href="https://i.stack.imgur.com/4DRUl.png" rel="nofollow"><img src="https://i.stack.imgur.com/4DRUl.png" alt="This is my code so far:"></a></p>
  
  <p>When I try to run the last row (textFieldShouldReturn(search_textfield)), the application crashes.</p>
  
  <p>How can I call programmatically to textFieldShouldReturn in order to activate the "Search" button?</p>