From 423d28ede66bae8822847cbc54dab058cf7a8541 Mon Sep 17 00:00:00 2001 From: moscopa Date: Mon, 10 Jun 2019 11:12:17 -0400 Subject: [PATCH] DOPMO-49460 Making text fields public for Security Code Autofill. --- MVMCoreUI/Atoms/TextFields/MFDigitTextField.h | 3 +++ MVMCoreUI/Atoms/TextFields/MFDigitTextField.m | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MVMCoreUI/Atoms/TextFields/MFDigitTextField.h b/MVMCoreUI/Atoms/TextFields/MFDigitTextField.h index 936ed017..4be970da 100644 --- a/MVMCoreUI/Atoms/TextFields/MFDigitTextField.h +++ b/MVMCoreUI/Atoms/TextFields/MFDigitTextField.h @@ -8,6 +8,7 @@ #import +@class MFDigitTextBox; @interface MFDigitTextField : MFTextField + (nullable instancetype)mfDigitTextFieldWithNumberOfDigits:(NSUInteger)numberOfDigits; @@ -18,4 +19,6 @@ - (void)setAsSecureTextEntry:(BOOL)secureTextEntry; +@property (nullable, nonatomic, strong) NSArray *textFields; +//Be careful when using this directly. There's a possiblity that you may break the view. @end diff --git a/MVMCoreUI/Atoms/TextFields/MFDigitTextField.m b/MVMCoreUI/Atoms/TextFields/MFDigitTextField.m index d04cd56c..084ba338 100644 --- a/MVMCoreUI/Atoms/TextFields/MFDigitTextField.m +++ b/MVMCoreUI/Atoms/TextFields/MFDigitTextField.m @@ -29,7 +29,7 @@ @property (nullable, nonatomic, weak) IBOutlet NSLayoutConstraint *messageToTextFieldPin; @property (nullable, nonatomic, weak) IBOutlet NSLayoutConstraint *labelToTextFieldPin; -@property (nullable, nonatomic, strong) NSArray *textFields; + @property (nonatomic) BOOL switchedAutomatically; @end