Compare commits

...

4 Commits

Author SHA1 Message Date
Alexey Gerasimov a1483eeee9 Merge pull request #37 from TouchInstinct/fix/highlight
Fix/highlight
2018-03-30 14:47:57 +03:00
Alexey Gerasimov 63d748a46e Version incremented 2018-03-30 14:44:36 +03:00
Alexey Gerasimov eeeac04989 Try delay 2018-03-30 14:39:18 +03:00
Alexey Gerasimov ec8966a1fb Pin input throttled 2018-03-30 14:31:20 +03:00
3 changed files with 9 additions and 2 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## 0.2.1
- **Fixed**: BasePassCodeViewController doesn't draw last dot filled
## 0.2.0
- **Updated**: LeadKit to `0.7.x` version
- **Removed**: `CellField*` and `FormField*` protocols and classes.
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKitAdditions"
s.version = "0.2.0"
s.version = "0.2.1"
s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKitAdditions"
s.license = "Apache License, Version 2.0"
@@ -225,9 +225,12 @@ open class BasePassCodeViewController: UIViewController, ConfigurableController
open func bindViews() {
fakeTextField.rx.text.asDriver()
.drive(onNext: { [weak self] text in
.do(onNext: { [weak self] text in
self?.setStates(for: text ?? "")
self?.hideError()
})
.delay(0.1) // time to draw dots
.drive(onNext: { [weak self] text in
self?.viewModel.setPassCodeText(text)
})
.disposed(by: disposeBag)