From 469a611cee661d3dbbe301f311b10edd8ff69685 Mon Sep 17 00:00:00 2001 From: Reimar Twelker Date: Mon, 11 Feb 2019 21:11:36 +0100 Subject: [PATCH] master: Release 0.6.0 --- CHANGELOG.md | 2 +- RAGTextField.podspec | 2 +- README.md | 7 +++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index db5ba1b..779687a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] +## 0.6.0 ### Changed - Replaced `horizontalTextPadding` and `verticalTextPadding` with `textPadding` of type `UIEdgeInsets` (API breaking change). Values can be set in IB. diff --git a/RAGTextField.podspec b/RAGTextField.podspec index 0c013d5..7889afa 100644 --- a/RAGTextField.podspec +++ b/RAGTextField.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'RAGTextField' - s.version = '0.5.0' + s.version = '0.6.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 83f4450..e93d697 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,11 @@ Add a view to the background of the text by assigning an arbitrary view to the ` These are the different ways you can **customize the appearance** of the text background view. -- Use the `horizontalTextPadding` property to apply padding to the left and right of the text. The padding expands the text background view horizontally. -- Use the `verticalTextPadding` property to apply padding to the top (between the text and the placeholder) and bottom (between the text and the hint) of the text. The padding expands the text background view vertically. +- Use the `textPadding` property to apply padding to the text. The padding expands the text background view. By default, the padding is `.zero`. #### The underline view -Use the class `UnderlineView` to draw an underline below the text. The line can be colored and animated. Assign an instance of the class to the `textBackgroundView` property of the text field. The animation of the line has to be triggered manually, for example from a `UITextFieldDelegate` implementation. The example project uses the unterline view. +Use the class `UnderlineView` to draw an **animated underline** below the text. Assign an instance of the class to the `textBackgroundView` property of the text field. The animation of the line has to be triggered manually, for example from a `UITextFieldDelegate` implementation. The example project uses the unterline view. ## Known issues @@ -90,7 +89,7 @@ These are known or possible issues with `RAGTextField`: - The `attributedText` property of UITextField *may* not be supported. - The `attributedPlaceholder` of UITextField is not supported. -- The `borderStyle` property should be `.none`. Others *may* not be supported. +- The `borderStyle` property should be `.none`. These issues will hopefully be addressed in future updates.