title: How to change UISearchBar Font Size & Color?
body: <p>I've google fews hours how to change my UISearchBar font size &amp; color, but I cannot any documents related to it.</p>
  
  <p>This is what I've done so far on swift 4:</p>
  
  <pre><code> searchBar = UISearchBar(frame: CGRect(x: 0, y: 0, width: view.frame.width - (menuImage.frame.width + iconImage.frame.width + 55), height: 30))
   searchBar.placeholder = "SEARCH BAR"
   searchBar.tintColor = UIColor.gray
   searchBar.delegate = self
   searchBar.font = [UIFont fontWithName:@"Oswald" size:11];
  </code></pre>
  
  <p>but it gave me an error.</p>
  
  <p>Could you tell me how can I change the UISearchBar font size &amp; color?</p>
  
  <p>Please help!!!</p>