Private outlet fix

This commit is contained in:
Igor Kislyuk 2018-03-26 18:49:42 +03:00
parent 3a104b1566
commit d53b4b84f6
3 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,8 @@
# Changelog # Changelog
## 0.1.5
- **Update**: Passcode private configuration
## 0.1.4 ## 0.1.4
- **Update**: Refactor PassCode - **Update**: Refactor PassCode

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = "LeadKitAdditions" s.name = "LeadKitAdditions"
s.version = "0.1.4" s.version = "0.1.5"
s.summary = "iOS framework with a bunch of tools for rapid development" s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKitAdditions" s.homepage = "https://github.com/TouchInstinct/LeadKitAdditions"
s.license = "Apache License, Version 2.0" s.license = "Apache License, Version 2.0"

View File

@ -183,9 +183,9 @@ open class BasePassCodeViewController: UIViewController, ConfigurableController
} }
/// Override to change action title text /// Override to change action title text
open func actionTitle(for passCodeControllerState: PassCodeControllerState) -> String { open func actionTitle(for passCodeControllerState: PassCodeControllerState) -> NSAttributedString {
assertionFailure("You should override this method: actionTitle(for passCodeControllerState: PassCodeControllerState)") assertionFailure("You should override this method: actionTitle(for passCodeControllerState: PassCodeControllerState)")
return "" return NSAttributedString(string: "")
} }
// MARK: - Functions that you can override to customize your controller // MARK: - Functions that you can override to customize your controller
@ -204,7 +204,7 @@ open class BasePassCodeViewController: UIViewController, ConfigurableController
/// Override to change UI for state /// Override to change UI for state
open func configureUI(for passCodeControllerState: PassCodeControllerState) { open func configureUI(for passCodeControllerState: PassCodeControllerState) {
resetDotsUI() resetDotsUI()
titleLabel?.text = actionTitle(for: passCodeControllerState) titleLabel?.attributedText = actionTitle(for: passCodeControllerState)
} }
// MARK: - ConfigurableController // MARK: - ConfigurableController