You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Release notes
New features
Support for single segment, no segments
Support for no selected segment
Support for customizing .valueChanged behavior when calling setIndex()
iPad cursor support (iOS 13.4+)
Auto-sizing support when using Auto Layout
Improved accessibility / VoiceOver
Fixes
Fix Interface Builder / runtime color inconsistencies
Fix accessibility labels being read twice
Fix warnings in pod and example
Cover edge cases when setting index / segments
Other
Fully cover control with unit and snapshot tests
Add Slather support for calculating code coverage
Restructure internally for better readability and performance
Improve example view controller
Add logo and improve README with new demo GIFs
Breaking changes
When calling setIndex(), the .valueChanged event will now not be triggered by default. Use setIndex()'s shouldSendValueChangedEvent parameter to control this behavior
Default IB colors have been updated to match system's UISegmentedControl
Setting segments will now reset the index (no .valueChanged event will be triggered)