Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Custom SegmentControl for iOS. Based on background images for left, middle and right segment. Customizable font, text color and highlight text color.
branch: master
Failed to load latest commit information.
Test.xcodeproj SegmentControl initial import
Test SegmentControl initial import
README.markdown SegmentControl initial import

README.markdown

AASegmentControl

I had to build a custom segment control for my current project (http://www.spartanapp.com) and made a backup for it on GitHub.

The segment control is derived from UIControl and I use background images for the customization. You can set the background images with the following method:

- (void)setImage:(UIImage *)image forState:(UIControlState)state controlSegment:(ControlSegment)segment;

Maybe one of you needs the same piece of code. Have fun and follow twitter.com/gekitz for further updates.

Something went wrong with that request. Please try again.