Modify -setCount:forSegmentAtIndex:
Modify -setCount:forSegmentAtIndex:

Moved most of the work to -configureButtonForSegment:
CQXfly/DZNSegmentedControl,jonesgithub/DZNSegmentedControl,hoanganh6491/DZNSegmentedControl,hjanuschka/DZNSegmentedControl,smallmuou/DZNSegmentedControl,xhacker/DZNSegmentedControl,gtranchedone/DZNSegmentedControl,bellchen/DZNSegmentedControl,xhacker/DZNSegmentedControl,CQXfly/DZNSegmentedControl,hoanganh6491/DZNSegmentedControl,smallmuou/DZNSegmentedControl,smallmuou/DZNSegmentedControl,sprylogics/DZNSegmentedControl,dzenbot/DZNSegmentedControl,CQXfly/DZNSegmentedControl,hjanuschka/DZNSegmentedControl,gtranchedone/DZNSegmentedControl,hoanganh6491/DZNSegmentedControl,jonesgithub/DZNSegmentedControl,gtranchedone/DZNSegmentedControl,jonesgithub/DZNSegmentedControl,hjanuschka/DZNSegmentedControl,perrystreetsoftware/DZNSegmentedControl,xhacker/DZNSegmentedControl