Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f5349272af | |||
| 1570ce331d |
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
### 0.3.2
|
||||
|
||||
- **Add**: functions to `BasePassCodeViewController` to make `fakeTextField` become and resign first responder
|
||||
|
||||
### 0.3.1
|
||||
- **Add**: `PinLayoutTableViewCell` and `SeparatorTableViewCell` to `Core-iOS-Extension`.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "LeadKitAdditions"
|
||||
s.version = "0.3.1"
|
||||
s.version = "0.3.2"
|
||||
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"
|
||||
|
||||
@@ -239,6 +239,18 @@ open class BasePassCodeViewController: UIViewController, ConfigurableController
|
||||
titleLabel?.attributedText = actionTitle(for: passCodeControllerState)
|
||||
}
|
||||
|
||||
// MARK: - Public functions
|
||||
|
||||
/// Make fakeTextField become first responder
|
||||
public func enableInput() {
|
||||
fakeTextField.becomeFirstResponder()
|
||||
}
|
||||
|
||||
/// Make fakeTextField resign first responder
|
||||
public func disableInput() {
|
||||
fakeTextField.resignFirstResponder()
|
||||
}
|
||||
|
||||
// MARK: - ConfigurableController
|
||||
|
||||
open func bindViews() {
|
||||
|
||||
Reference in New Issue
Block a user