diff --git a/LHDropDownTextField.podspec b/LHDropDownTextField.podspec index d390aec..dfba1ad 100644 --- a/LHDropDownTextField.podspec +++ b/LHDropDownTextField.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'LHDropDownTextField' - s.version = '0.3.0' + s.version = '0.3.1' s.summary = '为 UITextField 增加 picker 功能。' # This description is used to generate tags and improve search results. diff --git a/LHDropDownTextField/Classes/LHDropDownTextField.swift b/LHDropDownTextField/Classes/LHDropDownTextField.swift index 15d5c33..e6557ba 100644 --- a/LHDropDownTextField/Classes/LHDropDownTextField.swift +++ b/LHDropDownTextField/Classes/LHDropDownTextField.swift @@ -376,7 +376,7 @@ open class LHDropDownTextField: UITextField { // MARK: - Init - override init(frame: CGRect) { + override public init(frame: CGRect) { super.init(frame: frame) commonInit()