     
     override public func isFirstResponder() -> Bool {
         return self.textField.isFirstResponder() || self.textField.editing
-    }
-    
-    // MARK: -
-
-    private func resetErrorMessageIfPresent() {
-        if self.hasErrorMessage && discardsErrorMessageOnTextChange {
-            self.errorMessage = nil
-        }
-    }
-    
-    private func deselectedTitleOrPlaceholder() -> String? {
-        if let title = self.deselectedTitle ?? self.placeholder {
-            return self.titleFormatter(title)
-        }
-        return nil
-    }
-    
-    private func selectedTitleOrPlaceholder() -> String? {
-        if let title = self.selectedTitle ?? self.placeholder {
-            return self.titleFormatter(title)
-        }
-        return nil
     }
     
     // MARK: - View updates

    override public func intrinsicContentSize() -> CGSize {
        return CGSizeMake(self.bounds.size.width, 50.0)
    }
}


    // TODO: get rid of this?
    var titleHeight:CGFloat = 20.0
    
    // MARK: - Initializers
    
    public init(frame:CGRect, textField:UITextField?, lineView:UIView?) {
        super.init(frame: frame)
