Latest | 1.4.0 |
---|---|
Homepage | https://github.com/designatednerd/DNSCastroSegmentedControl |
License | MIT |
Platforms | ios 7.0, requires ARC |
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.
Latest podspec
{ "name": "DNSCastroSegmentedControl", "version": "1.4.0", "summary": "A segmented control based on the one in the Castro Podcast app's settings page.", "homepage": "https://github.com/designatednerd/DNSCastroSegmentedControl", "screenshots": "https://raw.githubusercontent.com/designatednerd/DNSCastroSegmentedControl/master/sample_project.gif", "license": { "type": "MIT", "file": "LICENSE.md" }, "authors": "Ellen Shapiro", "platforms": { "ios": "7.0" }, "source": { "git": "https://github.com/designatednerd/DNSCastroSegmentedControl.git", "tag": "v1.4.0" }, "source_files": "DNSCastroSegmentedControl/Library", "requires_arc": true }
Sun, 28 Feb 2016 10:34:04 +0000