GocePetrovski / ScrollableSegmentedControl

Scrollable Segmented Control for when UISegmentedControl is not sufficient
MIT License
246 stars 74 forks source link

Swipe Between tabs #21

Open lendkazazi opened 6 years ago

lendkazazi commented 6 years ago

Is there a way to swipe between segments?

GocePetrovski commented 5 years ago

I'm not sure I fully understand the question... swipes where? If you are after swiping between the content shown below the segments then that has nothing to do with this control. I could create another pod that has swappable View Controller which is making use of this control but that is a lot of work.

theoschuetz commented 5 years ago

I'm currently analysing various segmented controls for my app. This one is great - good job! The only thing that is actually missing is that you can attach views to each segment and swipe between them. I think this is what @lendkazazi also meant. Right now, I would have to add a gesture recogniser myself and programatically move to the previous (or next) segment when swiping right (or left).