awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
HeshamMegid avatar

HeshamMegid/HMSegmentedControl

0
View on GitHub↗
4,083 星标·821 分支·Objective-C·4 次浏览

HMSegmentedControl

HMSegmentedControl 是一个用于 iOS 应用程序的可自定义、可滚动的选择界面。它作为一个 UIKit 组件,取代了标准的系统分段控件,提供了一个能够在不同视图或数据集之间切换的选择栏。

该组件的特色在于支持水平溢出滚动,当选项数量超过可用屏幕宽度时,允许用户平移选择选项。它通过自定义字体、颜色和文本属性,提供了对界面视觉标识的精确控制。

该库涵盖了支持文本和图像的选择栏渲染,利用了一个可跨不同设备屏幕尺寸缩放的布局系统。

Features

  • iOS UI Components - Provides a reusable, customizable UI component specifically designed for the iOS platform.
  • Custom Selection Interfaces - Provides custom selection bars for iOS apps to switch between different views or data sets.
  • Custom Control Rendering - Implements a custom selection interface by extending native UIKit view classes and overriding rendering methods.
  • Custom UIKit Controls - Offers a specialized selection bar built by extending standard UIKit components with expanded styling options.
  • Overflow Scroll Management - Implements a scrollable region that activates when the selection segments exceed the available screen width.
  • Scrollable Component Containers - Nests the segment container inside a scroll view to allow horizontal panning when items exceed screen width.
  • Segmented Control Components - Renders a customizable selection bar with text and images for switching between views or data sets.
  • Segmented Controls - Implements a group of mutually exclusive selection buttons that support horizontal scrolling.
  • View Switching Logic - Implements a horizontal menu to dynamically switch between different content sections within a single screen.
  • Index-Based Tracking - Manages the active segment state using an integer index to synchronize layout updates and animations.
  • Visual Style Customization - Allows modification of aesthetic properties like fonts and colors to match a brand's unique visual identity.
  • Constraint Layout Engines - Uses a constraint-based layout system to ensure the control scales across different iOS device screen sizes.
  • Component Dimension Calculators - Computes segment widths and positions dynamically based on content size and screen constraints.
  • Segment Component Styling - Enables custom fonts, colors, kerning, and shadows for segment titles to meet visual design requirements.
  • Text Styling - Provides granular control over font and color styling for selection bar labels.

Star 历史

heshammegid/hmsegmentedcontrol 的 Star 历史图表heshammegid/hmsegmentedcontrol 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

HMSegmentedControl 的开源替代方案

相似的开源项目,按与 HMSegmentedControl 的功能重合度排序。
  • skyscanner/skyfloatinglabeltextfieldSkyscanner 的头像

    Skyscanner/SkyFloatingLabelTextField

    4,129在 GitHub 上查看↗

    SkyFloatingLabelTextField is a reusable iOS user interface component for Swift applications. It implements a text input control featuring the floating label pattern, where labels transition from a placeholder position to a floating title when the field is focused or populated. The component includes built-in support for right-to-left language layouts, automatically adjusting text direction and layout for correct readability. It also provides integrated iconography, allowing images or font-based icons to be positioned within the text field. The system covers input validation messaging and sty

    Swift
    在 GitHub 上查看↗4,129
  • grouper/flatuikitGrouper 的头像

    Grouper/FlatUIKit

    7,742在 GitHub 上查看↗

    FlatUIKit is a flat design framework and component library for iOS. It provides a set of reusable interface elements and styling tools to implement a minimal aesthetic across native mobile applications. The kit replaces standard iOS controls with a collection of pre-styled components, including buttons, text fields, and segmented controls. It utilizes a predefined flat color palette, custom font integration, and a dedicated icon set to ensure a cohesive visual identity. The framework covers a wide range of UI elements, including customizable input controls, table cells, and navigation compon

    Objective-C
    在 GitHub 上查看↗7,742
  • xmartlabs/xlpagertabstripxmartlabs 的头像

    xmartlabs/XLPagerTabStrip

    7,005在 GitHub 上查看↗

    XLPagerTabStrip is a navigation component for iOS that synchronizes a tabbed menu with a swipable view controller pager. It functions as a gesture-based view switcher, allowing users to navigate between different screen views through either direct tab selection or horizontal swipe gestures. The project provides a wrapper for segmented controls and other tab indicator styles to manage the switching of multiple child views. It supports various tab indicator styling options, including button bars and simple indicator bars, and allows for the configuration of tab transition behaviors. The system

    Swift
    在 GitHub 上查看↗7,005
  • jverdi/jvfloatlabeledtextfieldjverdi 的头像

    jverdi/JVFloatLabeledTextField

    7,150在 GitHub 上查看↗

    JVFloatLabeledTextField is a reusable UIKit component for iOS that provides a text input field with a floating label. It animates the placeholder text into a hovering label when the field is focused or contains text, maintaining visual context for the user during data entry. This library functions as a programmable interface element for native applications developed with Swift and Objective-C, specifically designed to implement modern mobile form design patterns. The component manages these interactions through a combination of state-driven label transitions and constraint-based layout anima

    Objective-C
    在 GitHub 上查看↗7,150
查看 HMSegmentedControl 的所有 30 个替代方案→

常见问题解答

heshammegid/hmsegmentedcontrol 是做什么的?

HMSegmentedControl 是一个用于 iOS 应用程序的可自定义、可滚动的选择界面。它作为一个 UIKit 组件,取代了标准的系统分段控件,提供了一个能够在不同视图或数据集之间切换的选择栏。

heshammegid/hmsegmentedcontrol 的主要功能有哪些?

heshammegid/hmsegmentedcontrol 的主要功能包括:iOS UI Components, Custom Selection Interfaces, Custom Control Rendering, Custom UIKit Controls, Overflow Scroll Management, Scrollable Component Containers, Segmented Control Components, Segmented Controls。

heshammegid/hmsegmentedcontrol 有哪些开源替代品?

heshammegid/hmsegmentedcontrol 的开源替代品包括: skyscanner/skyfloatinglabeltextfield — SkyFloatingLabelTextField is a reusable iOS user interface component for Swift applications. It implements a text… grouper/flatuikit — FlatUIKit is a flat design framework and component library for iOS. It provides a set of reusable interface elements… xmartlabs/xlpagertabstrip — XLPagerTabStrip is a navigation component for iOS that synchronizes a tabbed menu with a swipable view controller… jverdi/jvfloatlabeledtextfield — JVFloatLabeledTextField is a reusable UIKit component for iOS that provides a text input field with a floating label.… vikmeup/sclalertview-swift — SCLAlertView-Swift is a Swift UI component and animation library used to create customizable alert views for iOS. It… romaonthego/residemenu — RESideMenu is an iOS side menu component and user interface framework element used to implement the side-drawer…