Renamed selectedIndex to selectedSegmentIndex to match exact name of the...

... UISegmentedControl.

It allows the new control to be really a drop-in replacement.

With that, it would have taken 1.27 minutes instead of 3.56 to include your control in my project. Great stuff, thanks for sharing!