Skip to content

Commit

Permalink
[TextFields] Correcting alphabetizing of some code. (#2343)
Browse files Browse the repository at this point in the history
  • Loading branch information
willlarche committed Nov 4, 2017
1 parent 4cee7cc commit 336d830
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
28 changes: 14 additions & 14 deletions components/TextFields/src/MDCTextInputController.h
Expand Up @@ -72,20 +72,6 @@
*/
@property(nonatomic, assign) UITextFieldViewMode characterCountViewMode;

/**
The corners to be rounded in the border area.
Default is roundedCornersDefault.
*/
@property(nonatomic, assign) UIRectCorner roundedCorners;

/**
Default for roundedCorners.
Default is top right and top left.
*/
@property(class, nonatomic, assign) UIRectCorner roundedCornersDefault;

/**
Color for decorations that indicates the input is not enabled / not accepting touch.
Expand Down Expand Up @@ -223,6 +209,20 @@
/** The text displayed in the placeholder label.*/
@property(nonatomic, nullable, copy) NSString *placeholderText;

/**
The corners to be rounded in the border area.
Default is roundedCornersDefault.
*/
@property(nonatomic, assign) UIRectCorner roundedCorners;

/**
Default for roundedCorners.
Default is top right and top left.
*/
@property(class, nonatomic, assign) UIRectCorner roundedCornersDefault;

/** The text input the controller is affecting. */
@property(nonatomic, nullable, strong) UIView<MDCTextInput> *textInput;

Expand Down
Expand Up @@ -59,14 +59,6 @@ - (instancetype)initWithTextInput:(UIView<MDCTextInput> *)input {

#pragma mark - Properties Implementations

+ (UIRectCorner)roundedCornersDefault {
return _roundedCornersDefault;
}

+ (void)setRoundedCornersDefault:(UIRectCorner)roundedCornersDefault {
_roundedCornersDefault = roundedCornersDefault;
}

- (BOOL)isFloatingEnabled {
return YES;
}
Expand All @@ -75,6 +67,14 @@ - (void)setFloatingEnabled:(__unused BOOL)floatingEnabled {
// Unused. Floating is always enabled.
}

+ (UIRectCorner)roundedCornersDefault {
return _roundedCornersDefault;
}

+ (void)setRoundedCornersDefault:(UIRectCorner)roundedCornersDefault {
_roundedCornersDefault = roundedCornersDefault;
}

#pragma mark - MDCTextInputPositioningDelegate

- (void)textInputDidLayoutSubviews {
Expand Down

0 comments on commit 336d830

Please sign in to comment.