forked from 3lvis/Form
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Segmented Control / Switch Field (3lvis#544) * Add support for Accessibility Labels on text field * Add accessibility label support to other fields This also sets the accessibility value for date, time, and select fields to the selected value. Text fields automatically behave this way. * Add documentation for Accessibility Labels * Correct Markdown syntax for links * Add UISegmentedControl support * Add tests for Segment Control * Update README and STYLING documents for Segments * Update project * Remove the need for setting the value on the segmented field
- Loading branch information
Showing
15 changed files
with
449 additions
and
66 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import UIKit; | ||
|
||
#import "FORMBaseFieldCell.h" | ||
|
||
static NSString * const FORMSegmentFieldCellIdentifier = @"FORMSegmentFieldCellIdentifier"; | ||
|
||
@interface FORMSegmentFieldCell : FORMBaseFieldCell | ||
|
||
- (void)setLabelFont:(UIFont *)labelFont UI_APPEARANCE_SELECTOR; | ||
- (void)setTintColor:(UIColor *)tintColor UI_APPEARANCE_SELECTOR; | ||
- (void)setBackgroundColor:(UIColor *)backgroundColor UI_APPEARANCE_SELECTOR; | ||
|
||
@end |
Oops, something went wrong.