Skip to content

Commit

Permalink
Updating package to 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gergelyorosz committed Apr 4, 2016
1 parent afe28a2 commit a9964c6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v1.1
----------
* Changed the control to inherit from the `UITextField` class (previously the control inherited from `UIControl`)
* The delegate to use with the textfield is now the `UITextFieldDelegate` (removed the `delegate:SkyFloatingLabelTextFieldDelegate` class)
* Removed `placeHolderLabel`, `textField` and `hasText` properties from `SkyFloatingLabelTextField` class
* Removed `textRectForBounds(bounds: CGRect)` and `placeholderLabelRectForBounds(bounds:CGRect)` methods from `SkyFloatingLabelTextField`
* The above methods have been replaced with the `UITextfield` methods `editingRectForBounds(bounds: CGRect)` and `placeholderRectForBounds(bounds: CGRect)` on `SkyFloatingLabelTextField`
* Added `placeholderFont`, `editingOrSelected` properties to `SkyFloatingLabelTextField` class

v1.0.6
----------
* Removed the hideKeyboardWhenSelected property. This property seemed too specific. To hide the keyboard when selecting a field, an alternative workaround is to set the textField.inputView property to an empty view.
Expand Down
4 changes: 2 additions & 2 deletions SkyFloatingLabelTextField.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "SkyFloatingLabelTextField"
s.version = "1.0.6"
s.version = "1.1"
s.summary = "A beautiful, flexible and customizable textfield that minimizes space when displaying additional context."
s.homepage = "https://github.com/Skyscanner/SkyFloatingLabelTextField"
s.license = { :type => "Apache 2.0", :file => "LICENSE.md" }
s.authors = "Daniel Langh, Gergely Orosz, Raimon Lapuente"
s.ios.deployment_target = "8.0"
s.source = { :git => "https://github.com/Skyscanner/SkyFloatingLabelTextField.git", :tag => "v1.0.6" }
s.source = { :git => "https://github.com/Skyscanner/SkyFloatingLabelTextField.git", :tag => "v1.1" }
s.source_files = 'Sources/*.swift'
end

0 comments on commit a9964c6

Please sign in to comment.