title: run a function on any change of UISegmented control?
body: <p>Looking for something like</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UISegmentedControl *modeSelect;
  
  if(modeselect.valueChanged){}
  </code></pre>
  
  <p>Other answers I found confuse me as I don't get the square brackets notation. Please do not send me tutorials on understanding that until after main question has been answered.</p>