CocoaPods trunk is moving to be read-only. Read more on the blog, there are 13 months to go.
1pod
Import SDSegmentedControl.h and SDSegmentedControl.m into your project and add QuartzCore framework to Build Phases -> Link Binary With Libraries.
You can then use SDSegmentedControl class as you would use normal UISegmentedControl.
License: MIT