title: how to change font size and font name of uisegmentedcontrol programmatically on swift?
body: <p>How to change font size and font name of uisegmentedcontrol programmatically? I used swift.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>self.mysegmentedControl = UISegmentedControl(items: [
          NSLocalizedString("Aaaaaa", comment: ""),
          NSLocalizedString("Bbbbbb", comment: ""),
          NSLocalizedString("Cccccc", comment: ""),
          NSLocalizedString("Dddddd", comment: ""),
          NSLocalizedString("Eeeeee", comment: ""),
          ])
  self.mysegmentedControl.addTarget(self, action: "mysegmentedControlDidChange:", forControlEvents: .ValueChanged)
  self.mysegmentedControl.selectedSegmentIndex = 0
  </code></pre>
  
  <p>regards.</p>