warning fix
This commit is contained in:
parent
59700f5013
commit
473fe1b720
@ -23,6 +23,9 @@
|
|||||||
// Called when the entered text becomes invalid based on the validation block
|
// Called when the entered text becomes invalid based on the validation block
|
||||||
- (void)entryIsInvalid:(nullable MFTextField *)textfield;
|
- (void)entryIsInvalid:(nullable MFTextField *)textfield;
|
||||||
|
|
||||||
|
// Dismisses the keyboard.
|
||||||
|
- (void)dismissFieldInput:(nullable id)sender;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface MFTextField : MFView
|
@interface MFTextField : MFView
|
||||||
|
|||||||
@ -14,6 +14,11 @@
|
|||||||
|
|
||||||
@protocol MFTextViewDelegate <NSObject>
|
@protocol MFTextViewDelegate <NSObject>
|
||||||
|
|
||||||
|
@optional
|
||||||
|
|
||||||
|
// Dismisses the keyboard.
|
||||||
|
- (void)dismissFieldInput:(nullable id)sender;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface MFTextView : UIView <UITextViewDelegate>
|
@interface MFTextView : UIView <UITextViewDelegate>
|
||||||
|
|||||||
@ -300,9 +300,7 @@ static NSString * const COLLECTION_CELL_ID = @"cell";
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setUnderLineFromIndex:(NSIndexPath *)fromIndexPath toIndex:(NSIndexPath *)toIndexPath percentage:(CGFloat)percentage {
|
- (void)setUnderLineFromIndex:(NSIndexPath *)fromIndexPath toIndex:(NSIndexPath *)toIndexPath percentage:(CGFloat)percentage {
|
||||||
BOOL goRight = fromIndexPath.row < toIndexPath.row;
|
|
||||||
|
|
||||||
UICollectionViewCell *fromCell = [self.collectionView cellForItemAtIndexPath:fromIndexPath];
|
UICollectionViewCell *fromCell = [self.collectionView cellForItemAtIndexPath:fromIndexPath];
|
||||||
UICollectionViewCell *toCell = [self.collectionView cellForItemAtIndexPath:toIndexPath];
|
UICollectionViewCell *toCell = [self.collectionView cellForItemAtIndexPath:toIndexPath];
|
||||||
|
|
||||||
|
|||||||
@ -304,7 +304,7 @@
|
|||||||
|
|
||||||
void(^completion)(void) = ^(void) {
|
void(^completion)(void) = ^(void) {
|
||||||
//accessibility - added to make only top alert label and close button accessible. Posted notification when top alert is displayed
|
//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.shortView.isAccessibilityElement = NO;
|
||||||
weakSelf.buttonView.label.accessibilityLabel = [NSString stringWithFormat:@"%@ - %@", [MVMCoreUIUtility hardcodedStringWithKey:@"top_alert_notification"],weakSelf.buttonView.label.accessibilityLabel];
|
weakSelf.buttonView.label.accessibilityLabel = [NSString stringWithFormat:@"%@ - %@", [MVMCoreUIUtility hardcodedStringWithKey:@"top_alert_notification"],weakSelf.buttonView.label.accessibilityLabel];
|
||||||
UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, weakSelf.buttonView.label);
|
UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, weakSelf.buttonView.label);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user