yonat / MultiSelectSegmentedControl

UISegmentedControl remake that supports selecting multiple segments, vertical stacking, combining text and images.
MIT License
300 stars 60 forks source link

make the color of separator line between segments inverse to background. #10

Closed azureatom closed 8 years ago

azureatom commented 8 years ago
  1. Add method makeSeparatorTintColor to make the color of separator line between segments inverse to background.
  2. remove variable hasBeenDrawn and override method drawRect:. User should call selectAllSegments or set selectedSegmentIndexes in viewDidLoad to select segments before it appear.
  3. add screen shot to README.md
yonat commented 8 years ago

Thanks, nice changes!

I prefer to use the builtin showDivider though. Just pushed a version that implements that.

I do agree it looks much better to have separators between selected segments, much better that the way it looked before.