Skip to content

Commit dc388ed

Browse files
Dirsha AndreyДенис Морозов
authored andcommitted
Fix new compiler warnings (NOISSUE)
1 parent a2b678e commit dc388ed

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Src/Core/FTCTextEntryFormatCoordinatorHelper.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ - (void)endEditing
106106
}];
107107
}
108108

109-
- (void)handleValueChange:(void(^)())valueChange
109+
- (void)handleValueChange:(void(^)(void))valueChange
110110
{
111111
NSString *initialValue = formatCoordinator.rawValue;
112112

Src/Core/Formatting/PostfixFormatter/FTCPostfixFormatter.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ - (NSRange)rangeInFormattedValueForRange:(NSRange)rangeInRawValue inRawValue:(NS
8080

8181
- (NSRange)rangeInRawValueForRange:(NSRange)rangeInFormattedValue inFormattedValue:(NSString *)formattedValue
8282
{
83-
assert( (formattedValue.length >= rangeInFormattedValue.location + rangeInFormattedValue.length) &&
84-
@"Argument 'rangeInFormattedValue' is out of bounds of 'formattedValue'" );
83+
assert( (formattedValue.length >= rangeInFormattedValue.location + rangeInFormattedValue.length) && "Argument 'rangeInFormattedValue' is out of bounds of 'formattedValue'" );
8584

8685
NSRange rawRange = rangeInFormattedValue;
8786

Src/FTCTextFieldFormatCoordinator.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ - (void)textFieldDidEndEditing:(UITextField *)aTextField
127127
[formatCoordinatorHelper endEditing];
128128
}
129129

130-
- (void)textFieldDidEndEditing:(UITextField *)aTextField reason:(UITextFieldDidEndEditingReason)reason
130+
- (void)textFieldDidEndEditing:(UITextField *)aTextField reason:(UITextFieldDidEndEditingReason)reason NS_AVAILABLE_IOS(10_0)
131131
{
132132
if ([self.textFieldDelegate respondsToSelector:@selector(textFieldDidEndEditing:reason:)])
133133
{

0 commit comments

Comments
 (0)