You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// // TextFieldExtension.swift // GMERemittance // // Created by Sujal on 2/6/18. // Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved. //
import UIKit
class CustomTextField: UITextField {
required init?(coder aDecoder: NSCoder){ super.init(coder: aDecoder) } override func textRect(forBounds bounds: CGRect) -> CGRect { return CGRect(x: bounds.origin.x + 10, y: bounds.origin.y, width: bounds.size.width - 0, height: bounds.size.height - 0) } override func editingRect(forBounds bounds: CGRect) -> CGRect { return self.textRect(forBounds: bounds) } }
|