polqf / TwicketSegmentedControl

Custom UISegmentedControl replacement for iOS, written in Swift
MIT License
1.76k stars 176 forks source link

Delegate callback now returns instance of TwicketSegmentedControl #14

Open dkun7944 opened 7 years ago

dkun7944 commented 7 years ago

The current delegate callback makes it impossible to have multiple TwicketSegmentedControls within one class. This commit fixed this by adding the TwicketSegmentedControl instance to the delegate callback parameters.

polqf commented 7 years ago

@dkun7944 are you going to do the changes we talked about 😄 ?

dkun7944 commented 6 years ago

@polqf Done!