How heshammegid/hmsegmentedcontrol works
HMSegmentedControl is an iOS UI component that replaces UISegmentedControl. An app supplies segment titles and/or images, configures selection and display options, then embeds the control; user selection updates its selected index and emits a value-change event or invokes the optional index-change block. The README documents text and image segments, styling, sizing, and horizontal scrolling. The implementation file is present but its contents were not sampled, so internal rendering and event-dispatch links are not expanded.
Main entry points: HMSegmentedControl.m Segmented control · HMSegmentedControl.h Control API
Components 4
Other components
- iOS app
- Control API
HMSegmentedControl/HMSegmentedControl.h - Segmented control
HMSegmentedControl/HMSegmentedControl.m - App user
Connections 4
- iOS app → Control API: configures
- iOS app → Segmented control: creates
- App user → Segmented control: selects segment
- Segmented control → iOS app: emits value change