Differences From Artifact [226aaf4e20]:
- File iOS/ShowDetailsController.m — part of check-in [604b510f98] at 2019-01-22 23:35:16 on branch trunk — [iOS] Use modules (user: js, size: 7685) [annotate] [blame] [check-ins using]
To Artifact [7ecb0a88e2]:
- File
iOS/ShowDetailsController.m
— part of check-in
[4a61a3ddab]
at
2019-01-22 23:42:10
on branch trunk
— [iOS] Do not automatically set the focus
This is sometimes delayed a little and very confusing then. (user: js, size: 7560) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
40 41 42 43 44 45 46 | { /* * NSMutableString does not offer a way to zero the string. * This is in the hope that setting a single character at an index just * replaces that character in memory, and thus allows us to zero the * password. */ | | | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | { /* * NSMutableString does not offer a way to zero the string. * This is in the hope that setting a single character at an index just * replaces that character in memory, and thus allows us to zero the * password. */ for (NSUInteger i = 0; i < string.length; i++) [string replaceCharactersInRange: NSMakeRange(i, 1) withString: @" "]; } @implementation ShowDetailsController - (void)dealloc { |
︙ | ︙ | |||
85 86 87 88 89 90 91 | self.legacySwitch.on = _legacy; self.keyFileField.text = _keyFile.NSObject; [self.mainViewController.tableView deselectRowAtIndexPath: indexPath animated: YES]; } | < < < < < < < | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | self.legacySwitch.on = _legacy; self.keyFileField.text = _keyFile.NSObject; [self.mainViewController.tableView deselectRowAtIndexPath: indexPath animated: YES]; } - (BOOL)textFieldShouldReturn: (UITextField *)textField { [textField resignFirstResponder]; return NO; } - (void)tableView: (UITableView *)tableView |
︙ | ︙ |