updated version

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-07-21 16:08:37 -05:00
parent dffede1350
commit 55641beccf
3 changed files with 16 additions and 2 deletions

View File

@ -1163,7 +1163,7 @@
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 29;
CURRENT_PROJECT_VERSION = 30;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;
@ -1200,7 +1200,7 @@
BUILD_LIBRARY_FOR_DISTRIBUTION = YES;
CODE_SIGN_IDENTITY = "";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 29;
CURRENT_PROJECT_VERSION = 30;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = "";
DYLIB_COMPATIBILITY_VERSION = 1;

View File

@ -15,4 +15,13 @@ extension UITextField {
.map { _ in self.text ?? "" }
.eraseToAnyPublisher()
}
public var numberPublisher: AnyPublisher<NSNumber?, Never> {
publisher(for: .editingChanged)
.map { textField in
guard let text = textField.text, let foundNumber = NumberFormatter().number(from: text) else { return nil }
return foundNumber
}
.eraseToAnyPublisher()
}
}

View File

@ -1,3 +1,8 @@
1.0.30
=======
- Upated Label to allow Scaled Fonts
- Refactored Code TextStyle
1.0.29
=======
- Upated TextStyle and Label for dealing with Top/Bottom insets