TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2015 |
Maintained by Alan Bouzek.
To run the example project, clone the repo, and run pod install
from the Example directory first.
An instance of ABSegmentedViewController should be created using the static initializer:
+(instancetype) ABSegmentedViewController segmentedContainerViewControllerWithViewControllers:(NSArray *)viewControllers
selectedTextAttributes:(NSDictionary *)selectedTextAttributes
deselectedTextAttributes:(NSDictionary *)deselectedTextAttributes
selectedBackgroundColor:(UIColor *)selectedBackgroundColor
deselectedBackgroundColor:(UIColor *)deselectedBackgroundColor
The viewControllers NSArray should contain UIViewControllers which implement the included AVSegmentedInternalViewController protocol (AVSegmentedInternalViewController.h).
The textAttributes NSDictionaries are standard attributed text attribute NSDictionaries.
The selected and deselected terms refer to the state of the segments in the segmented control.
Alan Bouzek, github: abouzek, [email protected]
ABSegmentedViewController is available under the MIT license. See the LICENSE file for more info.