PuiSegmentedControl

screenshot of PuiSegmentedControl

PuiSegmentedControl is a customizable for segmented control.

Overview

PuiSegmentedControl is a customizable segmented control for iOS that offers a range of features for styling and animating segment changes. It is written in Swift and can be easily integrated into your Xcode project using CocoaPods or Carthage.

Features

  • More configuration options: PuiSegmentedControl provides additional configuration options beyond what is offered by the default UISegmentedControl.
  • Title styling: Customize the appearance of segment titles using NSAttributedString.Key, including options for font, color, and more.
  • Styling options: Customize the border, background, and separator of the segmented control to match your design.
  • Animated segment change: Smoothly animate segment changes, although this may not work properly when using different corner radius values.
  • Scroll support: PuiSegmentedControl supports scrolling when used with UIPageViewController, making it easy to navigate between pages.
  • Custom page view: Use PuiPageViewSegmentedControl for a custom page view with segmented control integration.

CocoaPods

The easiest way to install PuiSegmentedControl is via CocoaPods. Simply add the following line to your Podfile and run pod install:

pod 'PuiSegmentedControl'

Carthage

To integrate PuiSegmentedControl into your Xcode project using Carthage, specify it in your Cartfile:

github "puitule/PuiSegmentedControl"

Then run carthage update to build the framework. Finally, drag the built PuiSegmentedControl.framework into your Xcode project.

Summary

In summary, PuiSegmentedControl is a versatile segmented control that offers enhanced customization options and smooth animation of segment changes. It supports scrolling with UIPageViewController and even provides a custom page view option. With easy installation using CocoaPods or Carthage, it is a convenient choice for developers looking to enhance the user experience of their iOS apps.

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.