Skip to content

Releases: TimOliver/TOSegmentedControl

v1.2.0

23 Jan 06:56
9e570fd
Compare
Choose a tag to compare

Enhancements

  • Added iPadOS mouse pointer support.

Fixed

  • Tapping a segment may not have properly played the selection animation.

v1.1.0

19 May 17:23
Compare
Choose a tag to compare

Enhancements

  • All add APIs have had new removed from them for more succinct naming.
  • Most Swift annotated methods have been renamed to match UISegmentedControl more closely.

Added

  • Support for iOS 9.
  • A new method called setSelectedSegmentIndex(_:animated:) to allow animated transitions of the thumb.

Fixed

  • Creating instances with init(items:) was yielding no visible items.
  • Tint color of the reversible arrow icon wasn't updating properly.
  • A deadlock was occurring when creating an instance with no items initially, and adding items later.
  • A crash was occurring when trying to insert new items with invalid index numbers.
  • Removed trailing separators when appending items with using insert functions.
  • If touch events were canceled while tapping down on the control, UI state wasn't being restored to an untapped state.

v1.0.1

23 Sep 17:13
cacac40
Compare
Choose a tag to compare

Fixed

  • Simplified the segment selection logic to fix a layout bug with the reversible arrow icon.
  • Slightly tweaked the corner radius to match UISegmentedControl more closely.

v1.0.0

23 Sep 12:34
4bbabc5
Compare
Choose a tag to compare

Enhancements

  • Added dark mode support for iOS 13 and up.
  • Added optional 'reversible' mode for specific segments.

v0.0.1

15 Sep 13:13
Compare
Choose a tag to compare
  • Initial Release! 🎉