Skip to content

Commit 0fdb9ef

Browse files
committed
master: Release 0.5.0
1 parent b227417 commit 0fdb9ef

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
This project adheres to [Semantic Versioning](http://semver.org/).
55

6-
## [Unreleased]
6+
## 0.5.0
77

88
### Added
99
- Added optional vertical `hintOffset` of the hint label to the bottom of the text
10+
- Added Carthage support
1011

1112
## 0.4.0
1213

RAGTextField.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'RAGTextField'
3-
s.version = '0.4.0'
3+
s.version = '0.5.0'
44
s.summary = 'Subclass of UITextField featuring a floating placeholder and a hint label.'
55
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.'
66
s.homepage = 'https://github.com/raginmari/RAGTextField'

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ These are the different ways you can **customize the appearance** of the hint:
6969

7070
- 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.
7171
- Use the `hintColor` property to **change the color** of the hint. By default, the hint uses the text color of the text field.
72+
- 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.
7273

7374
#### The text background view
7475

0 commit comments

Comments
 (0)