|
@@ -217,14 +217,22 @@ static NSString *kLoginUserInfo = @"UserInfo";
|
|
|
#pragma mark - TextField Delegate
|
|
#pragma mark - TextField Delegate
|
|
|
|
|
|
|
|
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
|
|
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField {
|
|
|
- self.currentFirstResponder = textField;
|
|
|
|
|
|
|
+
|
|
|
return YES;
|
|
return YES;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- (BOOL)textFieldShouldEndEditing:(UITextField *)textField {
|
|
- (BOOL)textFieldShouldEndEditing:(UITextField *)textField {
|
|
|
- self.currentFirstResponder = nil;
|
|
|
|
|
|
|
+
|
|
|
return YES;
|
|
return YES;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+- (void)textFieldDidEndEditing:(UITextField *)textField {
|
|
|
|
|
+ self.currentFirstResponder = nil;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+- (void)textFieldDidBeginEditing:(UITextField *)textField {
|
|
|
|
|
+ self.currentFirstResponder = textField;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
|
|
|
@end
|
|
@end
|