Skip to content

Commit

Permalink
2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Ali Jafarian committed Nov 11, 2017
1 parent 69f4e9a commit ef2c4f3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/UnderLineTextField/Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.5</string>
<string>2.0.6</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 1 addition & 5 deletions Source/UnderLineTextField/UnderLineTextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ extension UnderLineTextField {
super.layoutSubviews()
lineLayer.path = createLinePath().cgPath
setNeedsDisplay()
changeSementics()
}

override open func becomeFirstResponder() -> Bool {
Expand All @@ -458,11 +459,6 @@ extension UnderLineTextField {
super.prepareForInterfaceBuilder()
initilize()
}

open override func setNeedsDisplay() {
super.setNeedsDisplay()
changeSementics()
}
}

//================
Expand Down
2 changes: 1 addition & 1 deletion UnderLineTextField.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ s.platform = :ios
s.ios.deployment_target = "9.0"
s.requires_arc = true
s.module_name = "UnderLineTextField"
s.version = "2.0.5"
s.version = "2.0.6"
s.summary = "Simple UITextfield Subclass with state"
s.description = "simple UITextField subclass with state and floating placeholder"
s.homepage = "https://github.com/mohammadalijf/UnderLineTextField"
Expand Down

0 comments on commit ef2c4f3

Please sign in to comment.