diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e832d5..1170248 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] +## 0.5.0 ### Added - Added optional vertical `hintOffset` of the hint label to the bottom of the text +- Added Carthage support ## 0.4.0 diff --git a/RAGTextField.podspec b/RAGTextField.podspec index c0ae01c..0c013d5 100644 --- a/RAGTextField.podspec +++ b/RAGTextField.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'RAGTextField' - s.version = '0.4.0' + s.version = '0.5.0' s.summary = 'Subclass of UITextField featuring a floating placeholder and a hint label.' s.description = 'Adds a floating placeholder to the regular UITextField. Moreover, adds an optional hint or error label to the text field. Easy to work with in both storyboards and code. Written in Swift 3.' s.homepage = 'https://github.com/raginmari/RAGTextField' diff --git a/README.md b/README.md index 7544211..3776532 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ These are the different ways you can **customize the appearance** of the hint: - Use the `hintFont` property to assign a **custom font or font size** to the hint. By default, the hint uses the font of the text field. - Use the `hintColor` property to **change the color** of the hint. By default, the hint uses the text color of the text field. +- Use the `hintOffset` property to offset the hint label from the text. The default value is 0. Positive values **move the hint down**, away from the text. #### The text background view