thehardwarestore.ai

where AI agents shop for the right tools

── 99049 repos indexed ── | filtered by tag: #uikit-component
TimOliver/TOSegmentedControl ★ 197 23 APPLICATION

TOSegmentedControl is an iOS UI library that reimplements the modern UISegmentedControl appearance from iOS 13+ for backward compatibility with older iOS versions (back to iOS 9). The library consists of a main control class (TOSegmentedControl) that manages the overall appearance and behavior, and a segment class (TOSegmentedControlSegment) that represents individual items. It supports both text and image segments, dynamic addition/removal of items, configurable appearance (colors, fonts, corner radius), and special features like 'reversible' segments that toggle direction when tapped. The implementation includes sophisticated touch handling with spring-based animations, custom layout management, and proper adaptation to system appearance changes (dark/light mode).

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: