Skip to content

Commit 4d249d3

Browse files
author
Oleg Gnidets
committed
Merge branch 'develop'
2 parents 6aa6a20 + e64ba47 commit 4d249d3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Sources/TweeAttributedTextField.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ open class TweeAttributedTextField: TweeActiveTextField {
7474
/// - Parameters:
7575
/// - text: Custom attributed text to show.
7676
/// - animated: By default is `true`.
77+
@objc(showAttributtedInfo:animated:)
7778
public func showInfo(_ attrText: NSAttributedString, animated: Bool = true) {
7879
guard animated else {
7980
infoLabel.attributedText = attrText
@@ -90,7 +91,7 @@ open class TweeAttributedTextField: TweeActiveTextField {
9091
/// - Parameters:
9192
/// - text: Custom text to show.
9293
/// - animated: By default is `true`.
93-
public func showInfo(_ text: String, animated: Bool = true) {
94+
@objc public func showInfo(_ text: String, animated: Bool = true) {
9495
guard animated else {
9596
infoLabel.text = text
9697
return
@@ -108,7 +109,7 @@ open class TweeAttributedTextField: TweeActiveTextField {
108109

109110
/// Hides the info label with animation or not.
110111
/// - Parameter animated: By default is `true`.
111-
public func hideInfo(animated: Bool = true) {
112+
@objc public func hideInfo(animated: Bool = true) {
112113
guard animated else {
113114
infoLabel.alpha = .zero
114115
return

TweeTextField.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Pod::Spec.new do |s|
66
s.name = 'TweeTextField'
7-
s.version = '1.6.1'
7+
s.version = '1.6.2'
88
s.summary = 'Lightweight set of attributed text fields with nice animation'
99
s.description = <<-DESC
1010
This is lightweight library that provides different types of Text Fields based on your needs. I was inspired by https://uimovement.com/ui/2524/input-field-help/.

0 commit comments

Comments
 (0)