     private func hiddenBinding_valueChanged(newValue:Bool){
         self.hidden = newValue
     }
+    
+    public func textFieldShouldBeginEditing(textField: UITextField) -> Bool {
+        onEditingStarting?()
+        
+        return true
+    }
+    
+    public func textFieldShouldEndEditing(textField: UITextField) -> Bool {
+        onEditingEnding?()
+        
+        return true
+    }
 }
    }
    
    internal func commonInit(){
        self.addTarget(self, action: Selector("textChanged"), forControlEvents: UIControlEvents.EditingChanged)
    }
    

import UIKit
import AwfulBinding

public class BindableTextField:UITextField, UITextFieldDelegate, PTextBindable, PHiddenBindable{
    public var onEditingStarting:(() -> Void)?
    public var onEditingEnding:(() -> Void)?
    
    private var _textBinding:BindableValue<String>?
    
    //DEPRECATED: remove for 1.0
