DNSCastroSegmentedControl 1.4.0

DNSCastroSegmentedControl 1.4.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Nov 2015

Maintained by Ellen Shapiro.




  • By
  • Ellen Shapiro

A segmented control based on the one in the Castro settings page.

Features

  • Can display images or text
  • Background, text/image, and selection colors customizable
  • Fonts for text customizable
  • Automatically responds to bounds changes, so rotation or other bounds changes are handled easily.
  • Can calculate its own intrinsic content width given the contents of the choices.
  • You can use a background color, a border color, or both for the selection view.
  • Compatible with iOS 7+.

//TODOs

  • ??? - File an issue!

Images

Images used in the sample app are Creative Commons Public Domain images found via The Noun Project.