Latest 0.2.1
License MIT
Platforms ios 7.0


SSSegmentedControl is an UISegmentedControl ‘Extension’ written in Objective-C. With this ‘Extension’ multiple segment selection is available.


  • Easy to color active / selected segments
  • Declare the maximum allowed number of active segments
  • Deselection enabled
  • Deselected segments always have the default color declared in storyboard

Technical Requirements:

  • iOS 7.0 and above


  • SSSegmentedControl is licensed under the MIT License, please check License file.


  • In Storyboardselect a segmented control and set its custom class to SSSegmentedControl.
  • Define the number of segments; name them; color them; etc.
  • Open the ViewController.h and connect an Outlet and IBAction to the SSSegmentedControl.
  • Open the ViewController.m and add in viewDidLoad():
    [_segmentedControl setupSSSegmentedControlWithNumberOfSegments:'Number of Segments' withMaxActiveSegments:'Max Active Segments' andWithActiveColor:'Color'];
  • Chose max. active segments = 0, to use default segmented control features / options.
  • In the IBAction add:
    [_segmentedControl segmentedControlActionWithSelectedSegmentAction:@selector('Method for selected segment':) andDeselectedAction:@selector('Method for deselected segment':) andTarget:self];
  • At last define an Method / Function for selected segment and deselected segment and connect them above with the selectors.
  • Pay attention! : -(void)methodNameForSelected/DeselectedSegment:(SSSegmentedControl*)sender!

Questions / Suggestions ?

  • Check out the Demo Project for documented methods !
  • Feel free to message me at:
    [email protected]

Latest podspec

    "name": "SSSegmentedControl",
    "version": "0.2.1",
    "summary": "Multi Selection UISegmentedControl",
    "description": "* An extension for the UISegmentedControln* Easy to have an multi selection UISegmentedControln* Declare the max. number of active segmentsn* Easy coloring of active segmentsn* Full documented demo project and pod filesn* Background image supportn* Use of default features enabled",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": "Benedikt Veith",
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "0.2.1"
    "source_files": "SSSegmentedController/*.{h,m}"

Pin It on Pinterest

Share This