xaviermerino / XMSegmentedControl

A customizable segmented control with Icons, Text or Icons + Text segments. It is fully customizable and supports several inbuilt styles for displaying the selected segment. Written in Swift for iOS.
MIT License
193 stars 61 forks source link

Added a separator view between segments. #33

Open vitalii-tym opened 7 years ago

vitalii-tym commented 7 years ago

I've made the separator to be invisible by default, so that it won't appear unexpectedly when not needed. But it will be possible to make the separator appear by setting its color and alpha. Its width is hardcoded to 1 for now.