warning fix

This commit is contained in:
Pfeil, Scott Robert 2019-01-16 17:25:49 -05:00
parent 59700f5013
commit 473fe1b720
4 changed files with 10 additions and 4 deletions

View File

@ -23,6 +23,9 @@
// Called when the entered text becomes invalid based on the validation block
- (void)entryIsInvalid:(nullable MFTextField *)textfield;
// Dismisses the keyboard.
- (void)dismissFieldInput:(nullable id)sender;
@end
@interface MFTextField : MFView

View File

@ -14,6 +14,11 @@
@protocol MFTextViewDelegate <NSObject>
@optional
// Dismisses the keyboard.
- (void)dismissFieldInput:(nullable id)sender;
@end
@interface MFTextView : UIView <UITextViewDelegate>

View File

@ -300,9 +300,7 @@ static NSString * const COLLECTION_CELL_ID = @"cell";
}
}
- (void)setUnderLineFromIndex:(NSIndexPath *)fromIndexPath toIndex:(NSIndexPath *)toIndexPath percentage:(CGFloat)percentage {
BOOL goRight = fromIndexPath.row < toIndexPath.row;
- (void)setUnderLineFromIndex:(NSIndexPath *)fromIndexPath toIndex:(NSIndexPath *)toIndexPath percentage:(CGFloat)percentage {
UICollectionViewCell *fromCell = [self.collectionView cellForItemAtIndexPath:fromIndexPath];
UICollectionViewCell *toCell = [self.collectionView cellForItemAtIndexPath:toIndexPath];

View File

@ -304,7 +304,7 @@
void(^completion)(void) = ^(void) {
//accessibility - added to make only top alert label and close button accessible. Posted notification when top alert is displayed
weakSelf.accessibilityElements = @[_buttonView];
weakSelf.accessibilityElements = @[weakSelf.buttonView];
weakSelf.shortView.isAccessibilityElement = NO;
weakSelf.buttonView.label.accessibilityLabel = [NSString stringWithFormat:@"%@ - %@", [MVMCoreUIUtility hardcodedStringWithKey:@"top_alert_notification"],weakSelf.buttonView.label.accessibilityLabel];
UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, weakSelf.buttonView.label);