3 Commits

Author SHA1 Message Date
Dhaval Thanki 7a6cd5efbb - bug fixing 2017-04-14 16:30:30 +05:30
Dhaval Thanki 7c1d6bc4ae Update README.md 2017-04-13 15:18:09 +05:30
Dhaval Thanki 134ea16381 - V 0.2.4 published 2017-04-13 15:21:28 +05:30
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'DTTextField'
s.version = '0.2.3'
s.version = '0.2.4'
s.summary = 'DTTextField is UITextField library.'
s.description = <<-DESC
+1 -1
View File
@@ -295,7 +295,7 @@ public class DTTextField: UITextField {
let textOriginalY = (rect.height - fontHeight) / 2.0
var textY = topInset - textOriginalY
if textY < 0 { textY = topInset }
if textY < 0 && !showErrorLabel { textY = topInset }
return CGRect(x: x, y: ceil(textY), width: rect.size.width - paddingX, height: rect.height)
}
+1 -1
View File
@@ -1,6 +1,6 @@
# DTTextField
[![Version](https://img.shields.io/badge/Pod-V0.2.3-green.svg)](https://github.com/iDhaval/DTTextField/releases/tag/0.2.3)
[![Version](https://img.shields.io/badge/Pod-V0.2.4-green.svg)](https://github.com/iDhaval/DTTextField/releases/tag/0.2.4)
[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/iDhaval/DTTextField/blob/master/LICENSE)
[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/matteocrippa/awesome-swift)
[![Platform](https://img.shields.io/badge/Language-Swift_3.0-orange.svg)](https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/)